From 470731287ae67b1ae10d8582a8bf3c60e226fc80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 24 Aug 2005 07:57:49 +0000 Subject: [PATCH] wxUSE_STATTEXT guard. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/stattext.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.50.0