]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/control.cpp
Don't try to open clipboard if already open
[wxWidgets.git] / src / univ / control.cpp
index a719d491fa3ad7c43a34c5c237b764f8f4e78b68..1cf171e97aaeeda5cf869b1745f5daad9f15ff93 100644 (file)
 // declarations
 // ============================================================================
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "control.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -73,10 +69,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;
 }
 
 // ----------------------------------------------------------------------------