class wxWindow : public wxWindowBase
{
-DECLARE_DYNAMIC_CLASS(wxWindow)
-
friend class WXDLLEXPORT wxDC;
friend class WXDLLEXPORT wxWindowDC;
wxWindow() { Init(); }
wxWindow(wxWindow *parent,
- wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = 0,
- const wxString& name = wxPanelNameStr)
+ wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxPanelNameStr)
{
Init();
Create(parent, id, pos, size, style, name);
// common part of all ctors
void Init();
- DECLARE_NO_COPY_CLASS(wxWindow);
+ DECLARE_DYNAMIC_CLASS(wxWindow)
+ DECLARE_NO_COPY_CLASS(wxWindow)
DECLARE_EVENT_TABLE()
};