compilation fix for wxUnivGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-08-18 22:16:52 +00:00
parent 81e2cbc685
commit a351409ef2
2 changed files with 3 additions and 3 deletions

View File

@ -27,13 +27,13 @@ public:
// in wxGTK wxStaticText doesn't derive from wxStaticTextBase so we have to
// declare this function directly in gtk header
#ifndef __WXGTK__
#if !defined(__WXGTK__) || defined(__WXUNIVERSAL__)
// wrap the text of the control so that no line is longer than the given
// width (if possible: this function won't break words)
//
// NB: implemented in dlgcmn.cpp for now
void Wrap(int width);
#endif // __WXGTK__
#endif // ! native __WXGTK__
// overriden base virtuals
virtual bool AcceptsFocus() const { return false; }

View File

@ -239,7 +239,7 @@ wxSizer *wxDialogBase::CreateTextSizer(const wxString& message)
}
void
#ifdef __WXGTK__
#if defined(__WXGTK__) && !defined(__WXUNIVERSAL__)
wxStaticText
#else
wxStaticTextBase