Kirix Support Forums

Typo fix (== and = incorrect)

Please post any wxAUI patches or modifications you've created here. Thanks!

Typo fix (== and = incorrect)

Postby abligh on Tue Jan 10, 2006 4:07 pm

This patch fixes a typo in manager.cpp, that will have some code effect.

Code: Select all
--- src/manager.cpp     2006-01-10 20:45:53.000000000 +0000
+++ src/manager.cpp     2006-01-06 19:59:31.000000000 +0000
@@ -4008,7 +3738,7 @@
         pane.Hide();
         Update();
     }
-     else if (event.button = wxPaneInfo::buttonPin)
+     else if (event.button == wxPaneInfo::buttonPin)
     {
         if ((m_flags & wxAUI_MGR_ALLOW_FLOATING) &&
             pane.IsFloatable())
abligh
Registered User
 
Posts: 59
Joined: Sun Jan 01, 2006 2:31 pm

Postby Ben on Tue Jan 10, 2006 4:18 pm

Sorry, alex. Looks like a systematic failure on my part. I just flew back home and am jetlagged. Excuses, excuses. :-)

Best,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Postby Ben on Tue Jan 10, 2006 4:19 pm

Applied. Thanks.
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to wxAUI Patches & Modifications