From: Włodzimierz Skiba Date: Wed, 24 Aug 2005 07:57:49 +0000 (+0000) Subject: wxUSE_STATTEXT guard. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/470731287ae67b1ae10d8582a8bf3c60e226fc80 wxUSE_STATTEXT guard. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index 532576d897..b0e9dcf79f 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -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