X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7360894949ff89740d023dc587be5aa31f5be693..a7d5151df02bf70a9f6ff1c5c7fd33ab07bf409c:/src/motif/stattext.cpp?ds=sidebyside diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index 532576d897..ae9a674ac4 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "stattext.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -21,6 +17,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_STATTEXT + #include "wx/stattext.h" #ifdef __VMS__ @@ -33,7 +32,7 @@ #include "wx/motif/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl); +IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl) bool wxStaticText::Create(wxWindow *parent, wxWindowID id, const wxString& label, @@ -93,7 +92,7 @@ void wxStaticText::SetLabel(const wxString& label) XtVaSetValues(widget, XmNwidth, width, XmNheight, height, - NULL); + NULL); XtManageChild(widget); } else @@ -104,3 +103,5 @@ void wxStaticText::SetLabel(const wxString& label) NULL); } } + +#endif // wxUSE_STATTEXT