moved HasTransparentBackground() from wxUniv to common wxWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-01-07 16:54:09 +00:00
parent c1f3a14924
commit 7c7a653bec
9 changed files with 27 additions and 25 deletions

View File

@@ -18,27 +18,26 @@ public:
// overriden base class virtuals
virtual bool AcceptsFocus() const { return false; }
virtual void ApplyParentThemeBackground(const wxColour& bg)
{ SetBackgroundColour(bg); }
virtual bool HasTransparentBackground() { return true; }
private:
DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
};
#if defined(__WXUNIVERSAL__)
#include "wx/univ/statbox.h"
#include "wx/univ/statbox.h"
#elif defined(__WXMSW__)
#include "wx/msw/statbox.h"
#include "wx/msw/statbox.h"
#elif defined(__WXMOTIF__)
#include "wx/motif/statbox.h"
#include "wx/motif/statbox.h"
#elif defined(__WXGTK__)
#include "wx/gtk/statbox.h"
#include "wx/gtk/statbox.h"
#elif defined(__WXMAC__)
#include "wx/mac/statbox.h"
#include "wx/mac/statbox.h"
#elif defined(__WXCOCOA__)
#include "wx/cocoa/statbox.h"
#include "wx/cocoa/statbox.h"
#elif defined(__WXPM__)
#include "wx/os2/statbox.h"
#include "wx/os2/statbox.h"
#endif
#endif // wxUSE_STATBOX