]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/stattext.cpp
use unsgined int instead of int for 1 bit bitfields (SGI CC warning fix)
[wxWidgets.git] / 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