]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/stattext.cpp
removed assert which could be provoked by correct code
[wxWidgets.git] / src / msw / stattext.cpp
index 8c39245ce434dbef07a75dc9391bd94f6c079c4a..238c9ce24300df6dccc7ca00054e2f8a3ab23264 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
 #pragma hdrstop
 #endif
 
+#if wxUSE_STATTEXT
+
 #ifndef WX_PRECOMP
 #include "wx/event.h"
 #include "wx/app.h"
 #ifndef WX_PRECOMP
 #include "wx/event.h"
 #include "wx/app.h"
@@ -177,4 +179,4 @@ long wxStaticText::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
   return wxWindow::MSWWindowProc(nMsg, wParam, lParam);
 }
 
   return wxWindow::MSWWindowProc(nMsg, wParam, lParam);
 }
 
-
+#endif // wxUSE_STATTEXT