]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUSE_STATTEXT guard.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 24 Aug 2005 07:57:49 +0000 (07:57 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 24 Aug 2005 07:57:49 +0000 (07:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/stattext.cpp

index 532576d897d17e4ed82f5450820c2bc849a4dc43..b0e9dcf79f99b0dff5adbc32076bd0ff0b8bdac3 100644 (file)
@@ -21,6 +21,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_STATTEXT
+
 #include "wx/stattext.h"
 
 #ifdef __VMS__
@@ -93,7 +96,7 @@ void wxStaticText::SetLabel(const wxString& label)
         XtVaSetValues(widget,
             XmNwidth, width,
             XmNheight, height,
-            NULL);        
+            NULL);
         XtManageChild(widget);
     }
     else
@@ -104,3 +107,5 @@ void wxStaticText::SetLabel(const wxString& label)
             NULL);
     }
 }
+
+#endif // wxUSE_STATTEXT