]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stattext.h
fix wxOS2 build where OpenGL headers are available but there's no wxGlCanvas implemen...
[wxWidgets.git] / include / wx / stattext.h
index d23d88d4c1d6b87758ab388dde52fe026a7f6a4b..1aef30c9a491808aabf919b2247f162ef9767e1d 100644 (file)
@@ -100,6 +100,9 @@ private:
     DECLARE_NO_COPY_CLASS(wxStaticTextBase)
 };
 
     DECLARE_NO_COPY_CLASS(wxStaticTextBase)
 };
 
+// see wx/generic/stattextg.h for the explanation
+#ifndef wxNO_PORT_STATTEXT_INCLUDE
+
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/stattext.h"
 #elif defined(__WXMSW__)
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/stattext.h"
 #elif defined(__WXMSW__)
@@ -120,7 +123,8 @@ private:
     #include "wx/palmos/stattext.h"
 #endif
 
     #include "wx/palmos/stattext.h"
 #endif
 
+#endif // !wxNO_PORT_STATTEXT_INCLUDE
+
 #endif // wxUSE_STATTEXT
 
 #endif // wxUSE_STATTEXT
 
-#endif
-    // _WX_STATTEXT_H_BASE_
+#endif // _WX_STATTEXT_H_BASE_