]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/control.cpp
fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN...
[wxWidgets.git] / src / univ / control.cpp
index a719d491fa3ad7c43a34c5c237b764f8f4e78b68..2b31850db1a7dc1ccf25198839337b4e54a869ec 100644 (file)
@@ -73,10 +73,10 @@ bool wxControl::Create(wxWindow *parent,
     if ( !wxControlBase::Create(parent, id, pos, size, style, validator, name) )
     {
         // underlying window creation failed?
-        return FALSE;
+        return false;
     }
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------