]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/control.h
added accessor function to hide __VISAGECPP__ ugliness and avoid having #ifdef's...
[wxWidgets.git] / include / wx / control.h
index 64306ff8dafb2e2c638d3cf123f4457678d91922..98905ebe3ef8913ff2214a7be30d826feda0c6cc 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "wx/window.h"      // base class
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr;
+extern WXDLLEXPORT_DATA(const wxChar*) wxControlNameStr;
 
 // ----------------------------------------------------------------------------
 // wxControl is the base class for all controls
@@ -100,7 +100,7 @@ protected:
 
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/control.h"
-#elif defined(__PALMOS__)
+#elif defined(__WXPALMOS__)
     #include "wx/palmos/control.h"
 #elif defined(__WXMSW__)
     #include "wx/msw/control.h"