]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUSE_XX fix
authorRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 10:28:13 +0000 (10:28 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 10:28:13 +0000 (10:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/stattext.cpp

index f14cd26836d3a73cc699cb015c99995c05bb4372..6f22db270cb3714cbc107bf980e638242e8bf04f 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "wx/wxprec.h"
 
+#if wxUSE_STATTEXT
+
 #include "wx/app.h"
 #include "wx/stattext.h"
 #include "wx/notebook.h"
@@ -119,3 +121,6 @@ bool wxStaticText::SetFont(const wxFont& font)
 
     return ret;
 }
+
+#endif //if wxUSE_STATTEXT
+