]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/control.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / control.h
index fb90b4dbefc521760c1b3712de642d049a961e09..549f98d1837422a2983379ec46088af954da60fe 100644 (file)
@@ -48,8 +48,8 @@ public:
     // get the control alignment (left/right/centre, top/bottom/centre)
     int GetAlignment() const { return m_windowStyle & wxALIGN_MASK; }
 
     // 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:
 #endif
 
 protected:
@@ -82,8 +82,6 @@ protected:
     #include "wx/motif/control.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/control.h"
     #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__)
 #elif defined(__WXMAC__)
     #include "wx/mac/control.h"
 #elif defined(__WXPM__)