]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/button.h
Implemented wxToggleButton under Motif.
[wxWidgets.git] / include / wx / button.h
index 0a7ccc6a8b6bf8c624a2d0208d69c9c28627d858..3eee1463c23541a951621fd11769299821d3d620 100644 (file)
 // wxButton flags
 // ----------------------------------------------------------------------------
 
 // wxButton flags
 // ----------------------------------------------------------------------------
 
-// all these flags are obsolete
+// These two flags are obsolete
 #define wxBU_NOAUTODRAW      0x0000
 #define wxBU_AUTODRAW        0x0004
 #define wxBU_NOAUTODRAW      0x0000
 #define wxBU_AUTODRAW        0x0004
+
+// These flags affect label alignment
 #define wxBU_LEFT            0x0040
 #define wxBU_TOP             0x0080
 #define wxBU_RIGHT           0x0100
 #define wxBU_LEFT            0x0040
 #define wxBU_TOP             0x0080
 #define wxBU_RIGHT           0x0100
@@ -66,14 +68,10 @@ public:
     #include "wx/motif/button.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/button.h"
     #include "wx/motif/button.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/button.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/button.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/button.h"
 #elif defined(__WXPM__)
     #include "wx/os2/button.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/button.h"
 #elif defined(__WXPM__)
     #include "wx/os2/button.h"
-#elif defined(__WXSTUBS__)
-    #include "wx/stubs/button.h"
 #endif
 
 #endif // wxUSE_BUTTON
 #endif
 
 #endif // wxUSE_BUTTON