compilation fix for include wx/generic/stattextg.h before/without including wx/stattext.h in PCH-less wxUniv build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-17 12:02:47 +00:00
parent 11339a3884
commit bce49490f6
2 changed files with 13 additions and 3 deletions

View File

@@ -100,6 +100,9 @@ private:
DECLARE_NO_COPY_CLASS(wxStaticTextBase)
};
// see wx/generic/stattextg.h for the explanation
#ifndef wxNO_PORT_STATTEXT_INCLUDE
#if defined(__WXUNIVERSAL__)
#include "wx/univ/stattext.h"
#elif defined(__WXMSW__)
@@ -120,7 +123,8 @@ private:
#include "wx/palmos/stattext.h"
#endif
#endif // !wxNO_PORT_STATTEXT_INCLUDE
#endif // wxUSE_STATTEXT
#endif
// _WX_STATTEXT_H_BASE_
#endif // _WX_STATTEXT_H_BASE_