-#include "wx/settings.h"
-#endif
-
-#include "wx/generic/panelg.h"
-
-#if !USE_SHARED_LIBRARY
-IMPLEMENT_DYNAMIC_CLASS(wxPanel, wxWindow)
-
-BEGIN_EVENT_TABLE(wxPanel, wxWindow)
- EVT_SYS_COLOUR_CHANGED(wxPanel::OnSysColourChanged)
- EVT_NAVIGATION_KEY(wxPanel::OnNavigationKey)
-END_EVENT_TABLE()
-
-#endif
-
-wxPanel::wxPanel()
-{
-}
-
-bool wxPanel::Create(wxWindow *parent, wxWindowID id,
- const wxPoint& pos,
- const wxSize& size,
- long style,
- const wxString& name)
-{
- bool ret = wxWindow::Create(parent, id, pos, size, style, name);
-
- if ( ret ) {
- SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
- SetDefaultBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
- SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
- }
-
- return ret;
-}
-
-void wxPanel::InitDialog(void)
-{
- wxInitDialogEvent event(GetId());
- event.SetEventObject(this);
- GetEventHandler()->ProcessEvent(event);
-}