]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/control.h
fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in...
[wxWidgets.git] / include / wx / control.h
index 41dc31feb69aaf11dc027268f84c0e20e0ead323..549f98d1837422a2983379ec46088af954da60fe 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "wx/window.h"      // base class
 
-extern const wxChar* wxControlNameStr; // the default name
+WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr;
 
 // ----------------------------------------------------------------------------
 // wxControl is the base class for all controls
@@ -48,8 +48,8 @@ public:
     // get the control alignment (left/right/centre, top/bottom/centre)
     int GetAlignment() const { return m_windowStyle & wxALIGN_MASK; }
 
-#ifdef __WXMAC_X__
-    virtual ~wxControlBase() { }   // Added min for Mac X
+#ifdef __DARWIN__
+    virtual ~wxControlBase() { }
 #endif
 
 protected:
@@ -82,8 +82,6 @@ protected:
     #include "wx/motif/control.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/control.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/control.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/control.h"
 #elif defined(__WXPM__)