]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
authorJulian Smart <julian@anthemion.co.uk>
Sun, 11 Jan 2004 15:33:01 +0000 (15:33 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 11 Jan 2004 15:33:01 +0000 (15:33 +0000)
(Watcom compiler doesn't like ctor implementation in headers)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

115 files changed:
include/wx/bmpbuttn.h
include/wx/bookctrl.h
include/wx/button.h
include/wx/checkbox.h
include/wx/checklst.h
include/wx/choice.h
include/wx/control.h
include/wx/ctrlsub.h
include/wx/dialog.h
include/wx/filedlg.h
include/wx/generic/choicdgg.h
include/wx/generic/filedlgg.h
include/wx/generic/listctrl.h
include/wx/generic/mdig.h
include/wx/generic/scrolwin.h
include/wx/listbox.h
include/wx/listctrl.h
include/wx/msw/bitmap.h
include/wx/msw/choice.h
include/wx/msw/combobox.h
include/wx/msw/gdiobj.h
include/wx/msw/listbox.h
include/wx/msw/radiobox.h
include/wx/msw/radiobut.h
include/wx/msw/toplevel.h
include/wx/msw/window.h
include/wx/notebook.h
include/wx/scrolwin.h
include/wx/univ/bmpbuttn.h
include/wx/univ/button.h
include/wx/univ/checkbox.h
include/wx/univ/checklst.h
include/wx/univ/choice.h
include/wx/univ/combobox.h
include/wx/univ/control.h
include/wx/univ/dialog.h
include/wx/univ/frame.h
include/wx/univ/inpcons.h
include/wx/univ/listbox.h
include/wx/univ/notebook.h
include/wx/univ/radiobox.h
include/wx/univ/radiobut.h
include/wx/univ/textctrl.h
include/wx/univ/toolbar.h
include/wx/univ/toplevel.h
include/wx/univ/window.h
src/cocoa/bmpbuttn.mm
src/common/bookctrl.cpp
src/common/choiccmn.cpp
src/common/ctrlcmn.cpp
src/common/ctrlsub.cpp
src/common/dlgcmn.cpp
src/common/fldlgcmn.cpp
src/common/lboxcmn.cpp
src/common/nbkbase.cpp
src/generic/choicdgg.cpp
src/generic/dirctrlg.cpp
src/generic/filedlgg.cpp
src/generic/listctrl.cpp
src/generic/mdig.cpp
src/generic/prntdlgg.cpp
src/generic/scrlwing.cpp
src/gtk/bmpbuttn.cpp
src/gtk/checkbox.cpp
src/gtk/checklst.cpp
src/gtk1/bmpbuttn.cpp
src/gtk1/checkbox.cpp
src/gtk1/checklst.cpp
src/mac/bmpbuttn.cpp
src/mac/button.cpp
src/mac/carbon/bmpbuttn.cpp
src/mac/carbon/button.cpp
src/mac/carbon/checkbox.cpp
src/mac/carbon/checklst.cpp
src/mac/checkbox.cpp
src/mac/checklst.cpp
src/motif/bmpbuttn.cpp
src/motif/checkbox.cpp
src/motif/checklst.cpp
src/msw/bitmap.cpp
src/msw/bmpbuttn.cpp
src/msw/button.cpp
src/msw/checkbox.cpp
src/msw/checklst.cpp
src/msw/choice.cpp
src/msw/combobox.cpp
src/msw/gdiobj.cpp
src/msw/listbox.cpp
src/msw/listctrl.cpp
src/msw/radiobox.cpp
src/msw/radiobut.cpp
src/msw/toplevel.cpp
src/msw/window.cpp
src/os2/bmpbuttn.cpp
src/os2/checkbox.cpp
src/os2/checklst.cpp
src/os2/listctrl.cpp
src/univ/bmpbuttn.cpp
src/univ/button.cpp
src/univ/checkbox.cpp
src/univ/checklst.cpp
src/univ/choice.cpp
src/univ/combobox.cpp
src/univ/control.cpp
src/univ/dialog.cpp
src/univ/framuniv.cpp
src/univ/inpcons.cpp
src/univ/listbox.cpp
src/univ/notebook.cpp
src/univ/radiobox.cpp
src/univ/radiobut.cpp
src/univ/textctrl.cpp
src/univ/toolbar.cpp
src/univ/topluniv.cpp
src/univ/winuniv.cpp

index ebaafefda3e9d55d27add37d2e35bf9e8bac3f02..033f59bf0fa10e0c46bd281837016852399c48e1 100644 (file)
@@ -29,10 +29,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
 class WXDLLEXPORT wxBitmapButtonBase : public wxButton
 {
 public:
-    wxBitmapButtonBase()
-        : m_bmpNormal(), m_bmpSelected(), m_bmpFocus(), m_bmpDisabled()
-        , m_marginX(0), m_marginY(0)
-        { }
+    wxBitmapButtonBase();
 
     // set the bitmaps
     void SetBitmapLabel(const wxBitmap& bitmap)
index 26f1f2d31ce1162fd43adf1a50e0bf94b13e546b..51761208cb28f60c73e98023040c5e6106efd110 100644 (file)
@@ -41,22 +41,14 @@ public:
     // construction
     // ------------
 
-    wxBookCtrl()
-    {
-        Init();
-    }
+    wxBookCtrl();
 
     wxBookCtrl(wxWindow *parent,
                wxWindowID winid,
                const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize,
                long style = 0,
-               const wxString& name = wxEmptyString)
-    {
-        Init();
-
-        (void)Create(parent, winid, pos, size, style, name);
-    }
+               const wxString& name = wxEmptyString);
 
     // quasi ctor
     bool Create(wxWindow *parent,
index 1e7f14a0f77e406c309a569e209d1859fe953624..243487e6978a35568294d61c7ac61b0e92989ba0 100644 (file)
@@ -48,7 +48,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
 class WXDLLEXPORT wxButtonBase : public wxControl
 {
 public:
-    wxButtonBase() { }
+    wxButtonBase();
 
     // show the image in the button in addition to the label
     virtual void SetImageLabel(const wxBitmap& WXUNUSED(bitmap)) { }
index 6b30a0a25fa57aa88190f39501fd8fc7f7b880b0..0d7301d705ff3f626199c0738f4e0fd6200683d4 100644 (file)
@@ -58,7 +58,7 @@ WXDLLEXPORT_DATA(extern const wxChar *) wxCheckBoxNameStr;
 class WXDLLEXPORT wxCheckBoxBase : public wxControl
 {
 public:
-    wxCheckBoxBase() { }
+    wxCheckBoxBase();
 
     // set/get the checked status of the listbox
     virtual void SetValue(bool value) = 0;
index ce34f6cbcdb73d9890ca56d70905f787333ecada..4760cd44f8b60b7e14a1fd31d892e72e44aaeaeb 100644 (file)
@@ -23,7 +23,7 @@
 class WXDLLEXPORT wxCheckListBoxBase : public wxListBox
 {
 public:
-    wxCheckListBoxBase() { }
+    wxCheckListBoxBase();
 
     // check list box specific methods
     virtual bool IsChecked(size_t item) const = 0;
index b6600e3592a3d8c2b1afecf8e6e0e3f68c48d7e3..226382ed87e134f448991735e90df7a4042feb00 100644 (file)
@@ -37,7 +37,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxChoiceNameStr;
 class WXDLLEXPORT wxChoiceBase : public wxControlWithItems
 {
 public:
-    wxChoiceBase() { }
+    wxChoiceBase();
     virtual ~wxChoiceBase();
 
     // all generic methods are in wxControlWithItems
index 012e5c5a32d5ad3fc0973ff55c192e4449d2a0c9..3b0f5cb269db634eb2c1633ddbd7f2bb8d7e2826 100644 (file)
@@ -35,7 +35,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr;
 class WXDLLEXPORT wxControlBase : public wxWindow
 {
 public:
-    wxControlBase() { }
+    wxControlBase();
 
     virtual ~wxControlBase();
 
index 4108164ea1a01f577fba0576795cee5b516343ea..13cb2abf08bace0e2f19fb4c95fc28259e1f1e8d 100644 (file)
@@ -31,7 +31,7 @@
 class WXDLLEXPORT wxItemContainer
 {
 public:
-    wxItemContainer() { m_clientDataItemsType = wxClientData_None; }
+    wxItemContainer();
     virtual ~wxItemContainer();
 
     // adding items
@@ -140,7 +140,7 @@ protected:
 class WXDLLEXPORT wxControlWithItems : public wxControl, public wxItemContainer
 {
 public:
-    wxControlWithItems() { }
+    wxControlWithItems();
     virtual ~wxControlWithItems();
 
     // we have to redefine these functions here to avoid ambiguities in classes
index f9cfb80b715dcec1eb799587ddf9276dd5c20d48..afa9e1b027a279c774def73c22158c9c67bec087 100644 (file)
@@ -25,7 +25,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr;
 class WXDLLEXPORT wxDialogBase : public wxTopLevelWindow
 {
 public:
-    wxDialogBase() { Init(); }
+    wxDialogBase();
     virtual ~wxDialogBase() { }
 
     void Init();
index afcffa03b861b484893268487dff83866098af66..42c6dec20825bfe0ae66da2477f0e99aeeba42c3 100644 (file)
@@ -46,7 +46,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxFileSelectorDefaultWildcardStr;
 class WXDLLEXPORT wxFileDialogBase: public wxDialog
 {
 public:
-    wxFileDialogBase () {}
+    wxFileDialogBase ();
 
     wxFileDialogBase(wxWindow *parent,
                  const wxString& message = wxFileSelectorPromptStr,
index 2ccd871e432e5e2a778859c6bc79f4b4dded85ff..d583b4f48932289d9380b0b5d70bd2349f3b2cff 100644 (file)
@@ -38,7 +38,7 @@ class WXDLLEXPORT wxListBox;
 class WXDLLEXPORT wxAnyChoiceDialog : public wxDialog
 {
 public:
-    wxAnyChoiceDialog() { }
+    wxAnyChoiceDialog();
 
     wxAnyChoiceDialog(wxWindow *parent,
                       const wxString& message,
@@ -46,11 +46,7 @@ public:
                       int n, const wxString *choices,
                       long styleDlg = wxCHOICEDLG_STYLE,
                       const wxPoint& pos = wxDefaultPosition,
-                      long styleLbox = wxLB_ALWAYS_SB)
-    {
-        (void)Create(parent, message, caption, n, choices,
-                     styleDlg, pos, styleLbox);
-    }
+                      long styleLbox = wxLB_ALWAYS_SB);
 
     bool Create(wxWindow *parent,
                 const wxString& message,
@@ -73,10 +69,7 @@ protected:
 class WXDLLEXPORT wxSingleChoiceDialog : public wxAnyChoiceDialog
 {
 public:
-    wxSingleChoiceDialog()
-    {
-        m_selection = -1;
-    }
+    wxSingleChoiceDialog();
 
     wxSingleChoiceDialog(wxWindow *parent,
                          const wxString& message,
@@ -123,7 +116,7 @@ private:
 class WXDLLEXPORT wxMultiChoiceDialog : public wxAnyChoiceDialog
 {
 public:
-    wxMultiChoiceDialog() { }
+    wxMultiChoiceDialog();
 
     wxMultiChoiceDialog(wxWindow *parent,
                         const wxString& message,
@@ -131,10 +124,7 @@ public:
                         int n,
                         const wxString *choices,
                         long style = wxCHOICEDLG_STYLE,
-                        const wxPoint& pos = wxDefaultPosition)
-    {
-        (void)Create(parent, message, caption, n, choices, style, pos);
-    }
+                        const wxPoint& pos = wxDefaultPosition);
 
     bool Create(wxWindow *parent,
                 const wxString& message,
index 22b50f98009285953fc54b8e3968accee0c134aa..f8edaa82af4d25999f9b210308387f38c4a70dc8 100644 (file)
@@ -45,7 +45,7 @@ class WXDLLEXPORT wxTextCtrl;
 class WXDLLEXPORT wxGenericFileDialog: public wxFileDialogBase
 {
 public:
-    wxGenericFileDialog() { }
+    wxGenericFileDialog();
 
     wxGenericFileDialog(wxWindow *parent,
                  const wxString& message = wxFileSelectorPromptStr,
@@ -115,7 +115,7 @@ class WXDLLEXPORT wxFileDialog: public wxGenericFileDialog
      DECLARE_DYNAMIC_CLASS(wxFileDialog)
 
 public:
-     wxFileDialog() {}
+     wxFileDialog();
 
     wxFileDialog(wxWindow *parent,
                  const wxString& message = wxFileSelectorPromptStr,
@@ -123,10 +123,7 @@ public:
                  const wxString& defaultFile = _T(""),
                  const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
                  long style = 0,
-                 const wxPoint& pos = wxDefaultPosition)
-          :wxGenericFileDialog(parent, message, defaultDir, defaultFile, wildCard, style, pos)
-     {
-     }
+                 const wxPoint& pos = wxDefaultPosition);
 };
 
 #endif // USE_GENERIC_FILEDIALOG
index b07e8242779fdb5d4d89ad101a55fa85cdd3a14e..597d781093a2c62cad60c6fd0fe45fd685c9d320 100644 (file)
@@ -72,10 +72,7 @@ public:
                 const wxSize &size = wxDefaultSize,
                 long style = wxLC_ICON,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString &name = wxT("listctrl") )
-    {
-        Create(parent, winid, pos, size, style, validator, name);
-    }
+                const wxString &name = wxT("listctrl") );
     ~wxGenericListCtrl();
 
     bool Create( wxWindow *parent,
@@ -251,17 +248,14 @@ class WXDLLEXPORT wxListCtrl: public wxGenericListCtrl
     DECLARE_DYNAMIC_CLASS(wxListCtrl)
 
 public:
-    wxListCtrl() {}
+    wxListCtrl();
 
     wxListCtrl(wxWindow *parent, wxWindowID winid = -1,
                const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize,
                long style = wxLC_ICON,
                const wxValidator &validator = wxDefaultValidator,
-               const wxString &name = wxT("listctrl") )
-    : wxGenericListCtrl(parent, winid, pos, size, style, validator, name)
-    {
-    }
+               const wxString &name = wxT("listctrl") );
 };
 #endif // !__WXMSW__ || __WIN16__ || __WXUNIVERSAL__
 
index 007ab2e4e48bcbb6637202f02e1998e0ff71ad72..c56f571f4ba5852a86ea97eaedcb0c84a097ae99 100644 (file)
@@ -274,17 +274,14 @@ class wxMDIChildFrame ;
 class WXDLLEXPORT wxMDIParentFrame: public wxGenericMDIParentFrame
 {
 public:
-    wxMDIParentFrame() {}
+    wxMDIParentFrame();
     wxMDIParentFrame(wxWindow *parent,
                      wxWindowID winid,
                      const wxString& title,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
-                     const wxString& name = wxFrameNameStr)
-        :wxGenericMDIParentFrame(parent, winid, title, pos, size, style, name)
-    {
-    }
+                     const wxString& name = wxFrameNameStr) ;
 
     wxMDIChildFrame * GetActiveChild() const ;
     
@@ -300,19 +297,14 @@ private:
 class WXDLLEXPORT wxMDIChildFrame: public wxGenericMDIChildFrame
 {
 public:
-    wxMDIChildFrame() {}
-
+    wxMDIChildFrame();
     wxMDIChildFrame( wxGenericMDIParentFrame *parent,
                      wxWindowID winid,
                      const wxString& title,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxDEFAULT_FRAME_STYLE,
-                     const wxString& name = wxFrameNameStr )
-        :wxGenericMDIChildFrame(parent, winid, title, pos, size, style, name)
-    {
-    }
-
+                     const wxString& name = wxFrameNameStr ) ;
 private:
     DECLARE_DYNAMIC_CLASS(wxMDIChildFrame)
 };
@@ -324,12 +316,8 @@ private:
 class WXDLLEXPORT wxMDIClientWindow: public wxGenericMDIClientWindow
 {
 public:
-    wxMDIClientWindow() {}
-
-    wxMDIClientWindow( wxGenericMDIParentFrame *parent, long style = 0 )
-        :wxGenericMDIClientWindow(parent, style)
-    {
-    }
+    wxMDIClientWindow();
+    wxMDIClientWindow( wxGenericMDIParentFrame *parent, long style = 0 );
 
 private:
     DECLARE_DYNAMIC_CLASS(wxMDIClientWindow)
index faf66d635aad490cc9a6d952408a03e4b88245e1..9ff4daa8288011c174725846dc64f23d383249ba 100644 (file)
@@ -43,17 +43,13 @@ class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
                                             public wxScrollHelper
 {
 public:
-    wxGenericScrolledWindow() : wxScrollHelper(this) { }
+    wxGenericScrolledWindow();
     wxGenericScrolledWindow(wxWindow *parent,
                      wxWindowID winid = -1,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxScrolledWindowStyle,
-                     const wxString& name = wxPanelNameStr)
-        : wxScrollHelper(this)
-    {
-        Create(parent, winid, pos, size, style, name);
-    }
+                     const wxString& name = wxPanelNameStr);
 
     virtual ~wxGenericScrolledWindow();
 
index 66f39ed4bfd7bf333f23385d2567af6f7af8726a..95e071fe189e7638cc84491eab70f21b91761cb4 100644 (file)
@@ -43,7 +43,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxListBoxNameStr;
 class WXDLLEXPORT wxListBoxBase : public wxControlWithItems
 {
 public:
-    wxListBoxBase() { }
+    wxListBoxBase();
     virtual ~wxListBoxBase();
 
     // all generic methods are in wxControlWithItems, except for the following
index 86f7d56b01aa399f1f7ab10db51fc976193f1542..f5a1b325e05567ae6ab1db346be3e11de3203d52 100644 (file)
 class WXDLLEXPORT wxListView : public wxListCtrl
 {
 public:
-    wxListView() { }
+    wxListView();
     wxListView( wxWindow *parent,
                 wxWindowID winid = -1,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxLC_REPORT,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString &name = wxT("listctrl") )
-    {
-        Create(parent, winid, pos, size, style, validator, name);
-    }
+                const wxString &name = wxT("listctrl") );
 
     // focus/selection stuff
     // ---------------------
index d31371c89185dcda7e0c5e037db002cfee08483a..28428007674519cd8d3ead527500a8cd3563c5c4 100644 (file)
@@ -43,17 +43,17 @@ class WXDLLEXPORT wxBitmap : public wxGDIImage
 {
 public:
     // default ctor creates an invalid bitmap, you must Create() it later
-    wxBitmap() { Init(); }
+    wxBitmap();
 
     // Copy constructors
-    wxBitmap(const wxBitmap& bitmap) { Init(); Ref(bitmap); }
+    wxBitmap(const wxBitmap& bitmap);
 
     // Initialize with raw data
     wxBitmap(const char bits[], int width, int height, int depth = 1);
 
     // Initialize with XPM data
-    wxBitmap(const char **data) { CreateFromXpm(data); }
-    wxBitmap(char **data) { CreateFromXpm((const char **)data); }
+    wxBitmap(const char **data);
+    wxBitmap(char **data);
 
     // Load a file or resource
     wxBitmap(const wxString& name, wxBitmapType type = wxBITMAP_TYPE_BMP_RESOURCE);
@@ -72,18 +72,18 @@ public:
     wxBitmap(int width, int height, const wxDC& dc);
 
 #if wxUSE_IMAGE
+
     // Convert from wxImage
-    wxBitmap(const wxImage& image, int depth = -1)
-        { (void)CreateFromImage(image, depth); }
+    wxBitmap(const wxImage& image, int depth = -1);
 
     // Create a DDB compatible with the given DC from wxImage
-    wxBitmap(const wxImage& image, const wxDC& dc)
-        { (void)CreateFromImage(image, dc); }
+    wxBitmap(const wxImage& image, const wxDC& dc);
+
 #endif // wxUSE_IMAGE
 
     // we must have this, otherwise icons are silently copied into bitmaps using
     // the copy ctor but the resulting bitmap is invalid!
-    wxBitmap(const wxIcon& icon) { Init(); CopyFromIcon(icon); }
+    wxBitmap(const wxIcon& icon);
 
     wxBitmap& operator=(const wxBitmap& bitmap)
     {
index c2b47f69c583ee2fb6134f21d4c3e353453ee18a..72d813afc2843536b0642ff66e522243bc724527 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxChoice : public wxChoiceBase
 {
 public:
     // ctors
-    wxChoice() { }
+    wxChoice();
     virtual ~wxChoice();
 
     wxChoice(wxWindow *parent,
@@ -34,10 +34,7 @@ public:
              int n = 0, const wxString choices[] = NULL,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxChoiceNameStr)
-    {
-        Create(parent, id, pos, size, n, choices, style, validator, name);
-    }
+             const wxString& name = wxChoiceNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index a369165d75fae3812109200127966ad3b8febd31..22793a67c827c42193abce428bd3b4393d03b691 100644 (file)
@@ -27,7 +27,7 @@
 class WXDLLEXPORT wxComboBox: public wxChoice
 {
 public:
-    wxComboBox() { }
+    wxComboBox();
 
     wxComboBox(wxWindow *parent, wxWindowID id,
             const wxString& value = wxEmptyString,
@@ -36,10 +36,7 @@ public:
             int n = 0, const wxString choices[] = NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
-            const wxString& name = wxComboBoxNameStr)
-    {
-        Create(parent, id, value, pos, size, n, choices, style, validator, name);
-    }
+            const wxString& name = wxComboBoxNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 4b085fce52b1907c3da37b15bb9ae7084290f123..494552d0d5ffe15e15c268e896d1c70eb9d5208c 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData
 class WXDLLEXPORT wxGDIObject : public wxObject
 {
 public:
-    wxGDIObject() { m_visible = FALSE; };
+    wxGDIObject();
 
     // Creates the resource
     virtual bool RealizeResource() { return FALSE; };
index 9574e73e9f105506368240abd5de60fa6eed391e..657c2c344a98efac1d9a7ce7645e5ed3361b12b9 100644 (file)
@@ -49,10 +49,7 @@ public:
             int n = 0, const wxString choices[] = NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
-            const wxString& name = wxListBoxNameStr)
-    {
-        Create(parent, id, pos, size, n, choices, style, validator, name);
-    }
+            const wxString& name = wxListBoxNameStr);
 
     bool Create(wxWindow *parent, wxWindowID id,
                 const wxPoint& pos = wxDefaultPosition,
index 0cab158a275fc12c4f9b9cef995560c5555f5b10..df725e094082abbaaf4a194475b828498a0d7836 100644 (file)
@@ -36,11 +36,7 @@ public:
                int majorDim = 0,
                long style = wxRA_HORIZONTAL,
                const wxValidator& val = wxDefaultValidator,
-               const wxString& name = wxRadioBoxNameStr)
-    {
-        (void)Create(parent, id, title, pos, size, n, choices, majorDim,
-                     style, val, name);
-    }
+               const wxString& name = wxRadioBoxNameStr);
 
     ~wxRadioBox();
 
index b47ee2e241ed5fb7aae8d01c16cba9174e8ed0b4..9eb4c81e9037fb3b9f50e59d421f637795c03276 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLEXPORT wxRadioButton: public wxControl
 {
 public:
     // ctors and creation functions
-    wxRadioButton() { Init(); }
+    wxRadioButton();
 
     wxRadioButton(wxWindow *parent,
                   wxWindowID id,
@@ -29,12 +29,7 @@ public:
                   const wxSize& size = wxDefaultSize,
                   long style = 0,
                   const wxValidator& validator = wxDefaultValidator,
-                  const wxString& name = wxRadioButtonNameStr)
-    {
-        Init();
-
-        Create(parent, id, label, pos, size, style, validator, name);
-    }
+                  const wxString& name = wxRadioButtonNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 213538d3c189e8825a227b7022e38d669cffcce4..1fb8f26792d6205b42aee86e72d192263f14d480 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxTopLevelWindowMSW : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
-    wxTopLevelWindowMSW() { Init(); }
+    wxTopLevelWindowMSW();
 
     wxTopLevelWindowMSW(wxWindow *parent,
                         wxWindowID id,
@@ -32,12 +32,7 @@ public:
                         const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxDefaultSize,
                         long style = wxDEFAULT_FRAME_STYLE,
-                        const wxString& name = wxFrameNameStr)
-    {
-        Init();
-
-        (void)Create(parent, id, title, pos, size, style, name);
-    }
+                        const wxString& name = wxFrameNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index d936b7a8d68926eda12ac900eec9d812b15ed4fd..74f5ec8e5b3485bbc18f424237935816305d8654 100644 (file)
@@ -53,18 +53,14 @@ enum
 class WXDLLEXPORT wxWindowMSW : public wxWindowBase
 {
 public:
-    wxWindowMSW() { Init(); }
+    wxWindowMSW();
 
     wxWindowMSW(wxWindow *parent,
                 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);
-    }
+                const wxString& name = wxPanelNameStr);
 
     virtual ~wxWindowMSW();
 
index 1193881d11aae0171c2de971183103334355c294..f5bab344d7f5698336054d916bd9b5e2debe87de 100644 (file)
@@ -53,18 +53,14 @@ public:
     // ctors
     // -----
 
-    wxNotebookBase() { }
+    wxNotebookBase();
 
     wxNotebookBase(wxWindow *parent,
                    wxWindowID winid,
                    const wxPoint& pos = wxDefaultPosition,
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
-                   const wxString& name = wxNOTEBOOK_NAME)
-        : wxBookCtrl(parent, winid, pos, size, style, name)
-    {
-    }
-
+                   const wxString& name = wxNOTEBOOK_NAME) ;
 
     // wxNotebook-specific additions to wxBookCtrl interface
     // -----------------------------------------------------
index 9ebdc14f1bb658b991cf9c91e9909a8b7adc349a..b4a54a747c388285e8d004e30bde875fb8a8c7d7 100644 (file)
@@ -217,16 +217,13 @@ protected:
     class WXDLLEXPORT wxScrolledWindow : public wxGenericScrolledWindow
     {
     public:
-        wxScrolledWindow() { }
+        wxScrolledWindow();
         wxScrolledWindow(wxWindow *parent,
                          wxWindowID winid = -1,
                          const wxPoint& pos = wxDefaultPosition,
                          const wxSize& size = wxDefaultSize,
                          long style = wxScrolledWindowStyle,
-                         const wxString& name = wxPanelNameStr)
-            : wxGenericScrolledWindow(parent, winid, pos, size, style, name)
-        {
-        }
+                         const wxString& name = wxPanelNameStr);
 
     private:
         DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrolledWindow)
index 34c09b3e3e35fa328227dd860067f6f587615e04..4199b5038f6db6a7b9aad331e66371e9ec6cc2ec 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
 {
 public:
-    wxBitmapButton() { }
+    wxBitmapButton();
 
     wxBitmapButton(wxWindow *parent,
                    wxWindowID id,
@@ -28,10 +28,7 @@ public:
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
                    const wxValidator& validator = wxDefaultValidator,
-                   const wxString& name = wxButtonNameStr)
-    {
-        Create(parent, id, bitmap, pos, size, style, validator, name);
-    }
+                   const wxString& name = wxButtonNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index e6bb4f0355ac582c581c476a5f52da9921838732..fcc95e74b6a7c47f12f3cc556204ad1b3218f130 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxInputHandler;
 class WXDLLEXPORT wxButton : public wxButtonBase
 {
 public:
-    wxButton() { Init(); }
+    wxButton();
     wxButton(wxWindow *parent,
              wxWindowID id,
              const wxBitmap& bitmap,
@@ -45,12 +45,7 @@ public:
              const wxSize& size = wxDefaultSize,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxButtonNameStr)
-    {
-        Init();
-
-        Create(parent, id, bitmap, label, pos, size, style, validator, name);
-    }
+             const wxString& name = wxButtonNameStr);
 
     wxButton(wxWindow *parent,
              wxWindowID id,
@@ -59,12 +54,7 @@ public:
              const wxSize& size = wxDefaultSize,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxButtonNameStr)
-    {
-        Init();
-
-        Create(parent, id, label, pos, size, style, validator, name);
-    }
+             const wxString& name = wxButtonNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index b37ff5b637c5dc0ed14a928c19c38495d87542ad..4bca3be985ead9b7c39df14a33e41d6b97aa6a37 100644 (file)
@@ -59,7 +59,7 @@ public:
     };
 
     // constructors
-    wxCheckBox() { Init(); }
+    wxCheckBox();
 
     wxCheckBox(wxWindow *parent,
                wxWindowID id,
@@ -68,12 +68,7 @@ public:
                const wxSize& size = wxDefaultSize,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxCheckBoxNameStr)
-    {
-        Init();
-
-        Create(parent, id, label, pos, size, style, validator, name);
-    }
+               const wxString& name = wxCheckBoxNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index ee6232792541b218b785fac1c6aa9f849da02cb2..7d7da30cc109ff230d0e2114ddd5919293883987 100644 (file)
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
 {
 public:
     // ctors
-    wxCheckListBox() { Init(); }
+    wxCheckListBox();
 
     wxCheckListBox(wxWindow *parent,
                    wxWindowID id,
@@ -40,12 +40,7 @@ public:
                    const wxString *choices = NULL,
                    long style = 0,
                    const wxValidator& validator = wxDefaultValidator,
-                   const wxString& name = wxListBoxNameStr)
-    {
-        Init();
-
-        Create(parent, id, pos, size, nStrings, choices, style, validator, name);
-    }
+                   const wxString& name = wxListBoxNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index a96d443d0215ac0b44388dccd3969ef2e5d89255..3fff15eb4fe37c82af76e3f8eee7e0e5055778b3 100644 (file)
 class WXDLLEXPORT wxChoice : public wxComboBox
 {
 public:
-    wxChoice() {}
+    wxChoice();
     wxChoice(wxWindow *parent, wxWindowID id,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             int n = 0, const wxString choices[] = (const wxString *) NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
-            const wxString& name = wxChoiceNameStr)
-    {
-        Create(parent, id, pos, size, n, choices, style, validator, name);
-    }
+            const wxString& name = wxChoiceNameStr);
 
     bool Create(wxWindow *parent, wxWindowID id,
                 const wxPoint& pos = wxDefaultPosition,
index 28be5a0a2e5f44a22a8cd9d04dd48f2524a39778..44323ba9eecf52d1c240aa6457e65f580c3dc94f 100644 (file)
@@ -99,10 +99,7 @@ class WXDLLEXPORT wxComboControl : public wxControl
 {
 public:
     // construction
-    wxComboControl()
-    {
-        Init();
-    }
+    wxComboControl();
 
     wxComboControl(wxWindow *parent,
                    wxWindowID id,
@@ -111,12 +108,7 @@ public:
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
                    const wxValidator& validator = wxDefaultValidator,
-                   const wxString& name = wxComboBoxNameStr)
-    {
-        Init();
-
-        (void)Create(parent, id, value, pos, size, style, validator, name);
-    }
+                   const wxString& name = wxComboBoxNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
@@ -213,7 +205,7 @@ class WXDLLEXPORT wxComboBox : public wxComboControl, public wxComboBoxBase
 {
 public:
     // ctors and such
-    wxComboBox() { Init(); }
+    wxComboBox();
 
     wxComboBox(wxWindow *parent,
                wxWindowID id,
@@ -224,13 +216,7 @@ public:
                const wxString *choices = (const wxString *) NULL,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxComboBoxNameStr)
-    {
-        Init();
-
-        (void)Create(parent, id, value, pos, size, n, choices,
-                     style, validator, name);
-    }
+               const wxString& name = wxComboBoxNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 710e6307fdecf3965428bd30f2b6a08c57412473..2a903039ac0c3ea47d0a4c021c002cff9186554c 100644 (file)
@@ -45,19 +45,14 @@ typedef wxString wxControlAction;
 class WXDLLEXPORT wxControl : public wxControlBase, public wxInputConsumer
 {
 public:
-    wxControl() { Init(); }
+    wxControl();
 
     wxControl(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
               const wxSize& size = wxDefaultSize, long style = 0,
               const wxValidator& validator = wxDefaultValidator,
-              const wxString& name = wxControlNameStr)
-    {
-        Init();
-
-        Create(parent, id, pos, size, style, validator, name);
-    }
+              const wxString& name = wxControlNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index fe7dfe70034a56de1a58e86286e3f21580475b6f..7bf987c18e052428a99f16801c27ee650f3e0a34 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLEXPORT wxEventLoop;
 class WXDLLEXPORT wxDialog : public wxDialogBase
 {
 public:
-    wxDialog() { Init(); }
+    wxDialog();
 
     // Constructor with no modal flag - the new convention.
     wxDialog(wxWindow *parent, wxWindowID id,
@@ -31,11 +31,7 @@ public:
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize,
              long style = wxDEFAULT_DIALOG_STYLE,
-             const wxString& name = wxDialogNameStr)
-    {
-        Init();
-        Create(parent, id, title, pos, size, style, name);
-    }
+             const wxString& name = wxDialogNameStr);
 
     bool Create(wxWindow *parent, wxWindowID id,
                 const wxString& title,
index e30d470a491bb30f023b3c9ebfda8983874792dd..94f7b090b19a5eac6ea1a09da5c1068cc496e9bc 100644 (file)
 class WXDLLEXPORT wxFrame : public wxFrameBase
 {
 public:
-    wxFrame() {}
+    wxFrame();
     wxFrame(wxWindow *parent,
             wxWindowID id,
             const wxString& title,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             long style = wxDEFAULT_FRAME_STYLE,
-            const wxString& name = wxFrameNameStr)
-    {
-        Create(parent, id, title, pos, size, style, name);
-    }
+            const wxString& name = wxFrameNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index e370a4f6f689cd875feefff246d657348bef2bb4..60aa12c7490fd20c5762dc04e7bcbfae8bb1e265 100644 (file)
@@ -42,7 +42,7 @@ typedef wxString wxControlAction;
 class WXDLLEXPORT wxInputConsumer
 {
 public:
-    wxInputConsumer() { m_inputHandler = NULL; }
+    wxInputConsumer();
 
     // get the input handler
     wxInputHandler *GetInputHandler() const { return m_inputHandler; }
index b5c6cc2c21d42b26ae007bd06c36f0a158c3f16c..06df165a0103bd05c093122540a64c83b694198a 100644 (file)
@@ -56,7 +56,7 @@ class WXDLLEXPORT wxListBox : public wxListBoxBase, public wxScrollHelper
 {
 public:
     // ctors and such
-    wxListBox() { Init(); }
+    wxListBox();
     wxListBox(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
@@ -64,12 +64,7 @@ public:
               int n = 0, const wxString choices[] = (const wxString *) NULL,
               long style = 0,
               const wxValidator& validator = wxDefaultValidator,
-              const wxString& name = wxListBoxNameStr )
-    {
-        Init();
-
-        Create(parent, id, pos, size, n, choices, style, validator, name);
-    }
+              const wxString& name = wxListBoxNameStr );
 
     virtual ~wxListBox();
 
index 4c82009c99910f743725bf7be37c34aed64ab5f6..907af319da1894ad077313d4715449e532d0af62 100644 (file)
@@ -39,19 +39,14 @@ public:
     // ctors and such
     // --------------
 
-    wxNotebook() { Init(); }
+    wxNotebook();
 
     wxNotebook(wxWindow *parent,
                wxWindowID id,
                const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize,
                long style = 0,
-               const wxString& name = wxNOTEBOOK_NAME)
-    {
-        Init();
-
-        (void)Create(parent, id, pos, size, style, name);
-    }
+               const wxString& name = wxNOTEBOOK_NAME);
 
     // quasi ctor
     bool Create(wxWindow *parent,
index 409d647d15643a36300f5cf36201db42bdbdbe4f..d74e0f3f5b5a3b4ceed3cc98e0104c633d917c4f 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLEXPORT wxRadioBox : public wxStaticBox,
 {
 public:
     // wxRadioBox construction
-    wxRadioBox() { Init(); }
+    wxRadioBox();
 
     wxRadioBox(wxWindow *parent,
                wxWindowID id,
@@ -43,13 +43,7 @@ public:
                int majorDim = 0,
                long style = wxRA_SPECIFY_COLS,
                const wxValidator& val = wxDefaultValidator,
-               const wxString& name = wxRadioBoxNameStr)
-    {
-        Init();
-
-        (void)Create(parent, id, title, pos, size, n, choices,
-                     majorDim, style, val, name);
-    }
+               const wxString& name = wxRadioBoxNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 5d78b3e9a3f0897e579e9b5add9bde4dd8c30e96..43f2ee76782d055efed4110836eb66b4e5a60218 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxRadioButton : public wxCheckBox
 {
 public:
     // constructors
-    wxRadioButton() { Init(); }
+    wxRadioButton();
 
     wxRadioButton(wxWindow *parent,
                   wxWindowID id,
@@ -35,12 +35,7 @@ public:
                   const wxSize& size = wxDefaultSize,
                   long style = 0,
                   const wxValidator& validator = wxDefaultValidator,
-                  const wxString& name = wxRadioButtonNameStr)
-    {
-        Init();
-
-        Create(parent, id, label, pos, size, style, validator, name);
-    }
+                  const wxString& name = wxRadioButtonNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 444962d382f4f413f501d944726b0cb2ab2f19d3..f2539578ed480653549bc631ce1352661aa8811c 100644 (file)
@@ -101,7 +101,7 @@ public:
     // creation
     // --------
 
-    wxTextCtrl() { Init(); }
+    wxTextCtrl();
 
     wxTextCtrl(wxWindow *parent,
                wxWindowID id,
@@ -110,12 +110,7 @@ public:
                const wxSize& size = wxDefaultSize,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxTextCtrlNameStr)
-    {
-        Init();
-
-        Create(parent, id, value, pos, size, style, validator, name);
-    }
+               const wxString& name = wxTextCtrlNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 73b35cb0a6bc03615dc9285dc226f03bf2a30c29..c4770ccf66ee59c92a0f7ccbd3fcd954f8c89e7f 100644 (file)
@@ -39,18 +39,13 @@ class WXDLLEXPORT wxToolBar : public wxToolBarBase
 {    
 public:
     // construction/destruction
-    wxToolBar() { Init(); }
+    wxToolBar();
     wxToolBar(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
               const wxSize& size = wxDefaultSize,
               long style = 0,
-              const wxString& name = wxToolBarNameStr)
-    {
-        Init();
-
-        Create(parent, id, pos, size, style, name);
-    }
+              const wxString& name = wxToolBarNameStr);
 
     bool Create( wxWindow *parent,
                  wxWindowID id,
index 9790eb6ca90913ecb9f533b07d6a1c283a00958d..7941417b4e1512980576d4d0d48f7afbc1bd5a34 100644 (file)
@@ -97,19 +97,14 @@ class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative,
 {
 public:
     // construction
-    wxTopLevelWindow() { Init(); }
+    wxTopLevelWindow();
     wxTopLevelWindow(wxWindow *parent,
                      wxWindowID id,
                      const wxString& title,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxDEFAULT_FRAME_STYLE,
-                     const wxString& name = wxFrameNameStr)
-    {
-        Init();
-
-        Create(parent, id, title, pos, size, style, name);
-    }
+                     const wxString& name = wxFrameNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 01115c15f335e2b79bf1bddf4d5a9eecf5a57864..dafa83279d496c5f23af6f33206452e8d9cbbba3 100644 (file)
@@ -55,16 +55,14 @@ public:
     // ctors and create functions
     // ---------------------------
 
-    wxWindow() { Init(); }
+    wxWindow();
 
     wxWindow(wxWindow *parent,
              wxWindowID id,
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize,
              long style = 0,
-             const wxString& name = wxPanelNameStr)
-        : wxWindowNative(parent, id, pos, size, style | wxCLIP_CHILDREN, name)
-        { Init(); }
+             const wxString& name = wxPanelNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 61a0193676f0b93503b7086c9b51ee312a017fff..3b12f4224fc3202bc24d6a5d2039e52b3d690bc0 100644 (file)
@@ -26,6 +26,16 @@ BEGIN_EVENT_TABLE(wxBitmapButton, wxBitmapButtonBase)
 END_EVENT_TABLE()
 WX_IMPLEMENT_COCOA_OWNER(wxBitmapButton,NSButton,NSControl,NSView)
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 bool wxBitmapButton::Create(wxWindow *parent, wxWindowID winid,
             const wxBitmap& bitmap, const wxPoint& pos,
             const wxSize& size, long style,
index b04136183e26f69943df4b3cc2a638dd66e55c05..25d28d865d3f801e77b287858818734693319586 100644 (file)
 // constructors and destructors
 // ----------------------------------------------------------------------------
 
+wxBookCtrl::wxBookCtrl()
+{
+    Init();
+}
+
+wxBookCtrl::wxBookCtrl(wxWindow *parent,
+                       wxWindowID id,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxString& name)
+{
+    Init();
+
+    (void)Create(parent, id, pos, size, style, name);
+}
+
 void wxBookCtrl::Init()
 {
     m_imageList = NULL;
index 9fc8861528cfc41c81608adeafdb705bf4cf29ef..0e81ac87f4938da58478da84ad9995e33ffe7082 100644 (file)
 // implementation
 // ============================================================================
 
+wxChoiceBase::wxChoiceBase()
+{
+}
+
 wxChoiceBase::~wxChoiceBase()
 {
     // this destructor is required for Darwin
index ec97111188ae4c169cf3eaea1a9bdae455c3ad49..4bddbffceac246e20ab610e80890a660015f2973 100644 (file)
 // implementation
 // ============================================================================
 
+wxControlBase::wxControlBase()
+{
+}
+
 wxControlBase::~wxControlBase()
 {
     // this destructor is required for Darwin
index 03be03f3dc1cc17287d09e967425192fe5cef4bc..c4debc5e7ccf175125135b441117455b338527f1 100644 (file)
 // implementation
 // ============================================================================
 
+wxItemContainer::wxItemContainer()
+{
+    m_clientDataItemsType = wxClientData_None;
+}
+
 wxItemContainer::~wxItemContainer()
 {
     // this destructor is required for Darwin
@@ -151,6 +156,10 @@ void *wxItemContainer::GetClientData(int n) const
     return DoGetItemClientData(n);
 }
 
+wxControlWithItems::wxControlWithItems()
+{
+}
+
 wxControlWithItems::~wxControlWithItems()
 {
     // this destructor is required for Darwin
index e53b1640ab1e7f78507762fa38e824969044967c..8b6e4f619ce8d22cdbba442ec836003cc795b33b 100644 (file)
@@ -53,6 +53,11 @@ END_EVENT_TABLE()
 WX_DELEGATE_TO_CONTROL_CONTAINER(wxDialogBase)
 #endif
 
+wxDialogBase::wxDialogBase()
+{
+    Init();
+}
+
 void wxDialogBase::Init()
 {
     m_returnCode = 0;
index 3f08486a1a545c91713d473391eea15b26a3db40..a93e631aebf4e684f7b0aa7448908ec0416b02bb 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxFileDialogBase, wxDialog)
 
+wxFileDialogBase::wxFileDialogBase ()
+{
+}
+
 wxFileDialogBase::wxFileDialogBase(wxWindow *parent,
                                    const wxString& message,
                                    const wxString& defaultDir,
index 292bec8130cda3ba86d8bc218bcfd8f4792c47fb..01c58ffce58fc26e92dc4acc5686525de0b8e1f5 100644 (file)
 // implementation
 // ============================================================================
 
+wxListBoxBase::wxListBoxBase()
+{
+}
+
 wxListBoxBase::~wxListBoxBase()
 {
     // this destructor is required for Darwin
index 6beaa057ecf1b9ff1f00c9ca03c9f345c3b305ad..8746f2729db8f75a096077252a41fcfe8d46863a 100644 (file)
 // implementation
 // ============================================================================
 
+wxNotebookBase::wxNotebookBase()
+{
+}
+
+wxNotebookBase::wxNotebookBase(wxWindow *parent,
+                               wxWindowID id,
+                               const wxPoint& pos,
+                               const wxSize& size,
+                               long style,
+                               const wxString& name)
+                               : wxBookCtrl(parent, id, pos, size, style, name)
+{
+}
+
 // ----------------------------------------------------------------------------
 // geometry
 // ----------------------------------------------------------------------------
index 629284a4badeb17fe983051f8e704842bd4bb71b..960619d89357b5c2df8afec0e8d66d875ee6097f 100644 (file)
@@ -238,6 +238,22 @@ size_t wxGetMultipleChoices(wxArrayInt& selections,
 // wxAnyChoiceDialog
 // ----------------------------------------------------------------------------
 
+wxAnyChoiceDialog::wxAnyChoiceDialog()
+{
+}
+
+wxAnyChoiceDialog::wxAnyChoiceDialog(wxWindow *parent,
+                                     const wxString& message,
+                                     const wxString& caption,
+                                     int n,
+                                     const wxString *choices,
+                                     long styleDlg,
+                                     const wxPoint& pos,
+                                     long styleLbox)
+{
+    (void)Create(parent, message, caption, n, choices, styleDlg, pos, styleLbox);
+}
+
 bool wxAnyChoiceDialog::Create(wxWindow *parent,
                                const wxString& message,
                                const wxString& caption,
@@ -296,6 +312,11 @@ END_EVENT_TABLE()
 
 IMPLEMENT_DYNAMIC_CLASS(wxSingleChoiceDialog, wxDialog)
 
+wxSingleChoiceDialog::wxSingleChoiceDialog()
+{
+    m_selection = -1;
+}
+
 wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow *parent,
                                            const wxString& message,
                                            const wxString& caption,
@@ -366,6 +387,21 @@ void wxSingleChoiceDialog::OnListBoxDClick(wxCommandEvent& WXUNUSED(event))
 
 IMPLEMENT_DYNAMIC_CLASS(wxMultiChoiceDialog, wxDialog)
 
+wxMultiChoiceDialog::wxMultiChoiceDialog()
+{
+}
+
+wxMultiChoiceDialog::wxMultiChoiceDialog(wxWindow *parent,
+                                         const wxString& message,
+                                         const wxString& caption,
+                                         int n,
+                                         const wxString *choices,
+                                         long style,
+                                         const wxPoint& pos)
+{
+    (void)Create(parent, message, caption, n, choices, style, pos);
+}
+
 bool wxMultiChoiceDialog::Create( wxWindow *parent,
                                   const wxString& message,
                                   const wxString& caption,
index a8897cdf8c6eb996d91dd940f4069b0067b389e1..a32eb64c4ce10a6bc4a32e9e07c2cc7dbe0206b8 100644 (file)
@@ -1146,7 +1146,11 @@ bool wxGenericDirCtrl::ExtractWildcard(const wxString& filterStr, int n, wxStrin
 
 int wxGenericDirCtrl::ParseFilter(const wxString& filterStr, wxArrayString& filters, wxArrayString& descriptions)
 {
+#if wxUSE_FILEDLG
     return wxFileDialogBase::ParseWildcard(filterStr, descriptions, filters );
+#else
+    return 0;
+#endif
 }
 
 void wxGenericDirCtrl::DoResize()
index 6f301a8f232db66f95e02e5f83f95a8fa6a64f66..b336cabd6c1cb6bd7ce0fd9799437738b797c6e0 100644 (file)
@@ -835,6 +835,10 @@ END_EVENT_TABLE()
 long wxGenericFileDialog::ms_lastViewStyle = wxLC_LIST;
 bool wxGenericFileDialog::ms_lastShowHidden = FALSE;
 
+wxGenericFileDialog::wxGenericFileDialog()
+{
+}
+
 wxGenericFileDialog::wxGenericFileDialog(wxWindow *parent,
                            const wxString& message,
                            const wxString& defaultDir,
@@ -1364,6 +1368,21 @@ void wxGenericFileDialog::UpdateControls()
 
 IMPLEMENT_DYNAMIC_CLASS(wxFileDialog, wxGenericFileDialog);
 
+wxFileDialog::wxFileDialog()
+{
+}
+
+wxFileDialog::wxFileDialog(wxWindow *parent,
+                           const wxString& message,
+                           const wxString& defaultDir,
+                           const wxString& defaultFile,
+                           const wxString& wildCard,
+                           long style,
+                           const wxPoint& pos)
+          :wxGenericFileDialog(parent, message, defaultDir, defaultFile, wildCard, style, pos)
+{
+}
+
 #endif // USE_GENERIC_FILEDIALOG
 
 #endif // wxUSE_FILEDLG
index 394e27505cde8397c53863c66c1ed48cf09b144b..bdb873316985fd0631ca6c164419bed598513e23 100644 (file)
@@ -4533,6 +4533,17 @@ wxGenericListCtrl::wxGenericListCtrl()
     m_headerHeight = 0;
 }
 
+wxGenericListCtrl::wxGenericListCtrl(wxWindow *parent,
+                                     wxWindowID winid,
+                                     const wxPoint &pos,
+                                     const wxSize &size,
+                                     long style,
+                                     const wxValidator& validator,
+                                     const wxString &name)
+{
+    Create(parent, winid, pos, size, style, validator, name);
+}
+
 wxGenericListCtrl::~wxGenericListCtrl()
 {
     if (m_ownsImageListNormal)
@@ -5382,5 +5393,39 @@ void wxGenericListCtrl::Thaw()
     m_mainWin->Thaw();
 }
 
+#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__)
+
+wxListCtrl::wxListCtrl()
+{
+}
+
+wxListCtrl::wxListCtrl(wxWindow *parent,
+                       wxWindowID winid,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxValidator &validator,
+                       const wxString &name)
+                       : wxGenericListCtrl(parent, winid, pos, size, style, validator, name)
+{
+}
+
+#endif // !__WXMSW__ || __WIN16__ || __WXUNIVERSAL__
+
+wxListView::wxListView()
+{
+}
+
+wxListView::wxListView(wxWindow *parent,
+                       wxWindowID winid,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxValidator& validator,
+                       const wxString &name)
+{
+    Create(parent, winid, pos, size, style, validator, name);
+}
+
 #endif // wxUSE_LISTCTRL
 
index e0b951be0e7b369d28c20b8b8bc1dc49d85431ba..bfa1b92b8bd1752843fa928a9f5b4d8bfe4de1f3 100644 (file)
@@ -797,6 +797,46 @@ void wxGenericMDIClientWindow::OnSize(wxSizeEvent& event)
 
 #if wxUSE_GENERIC_MDI_AS_NATIVE
 
+wxMDIParentFrame::wxMDIParentFrame()
+{
+}
+
+wxMDIParentFrame::wxMDIParentFrame(wxWindow *parent,
+                                   wxWindowID id,
+                                   const wxString& title,
+                                   const wxPoint& pos,
+                                   const wxSize& size,
+                                   long style,
+                                   const wxString& name)
+                                   :wxGenericMDIParentFrame(parent, id, title, pos, size, style, name)
+{
+}
+
+wxMDIChildFrame::wxMDIChildFrame()
+{
+}
+
+wxMDIClientWindow::wxMDIClientWindow()
+{
+}
+
+wxMDIClientWindow::wxMDIClientWindow(wxGenericMDIParentFrame *parent,
+                                     long style)
+                                     :wxGenericMDIClientWindow(parent, style)
+{
+}
+
+wxMDIChildFrame::wxMDIChildFrame(wxGenericMDIParentFrame *parent,
+                                 wxWindowID id,
+                                 const wxString& title,
+                                 const wxPoint& pos,
+                                 const wxSize& size,
+                                 long style,
+                                 const wxString& name)
+                                 :wxGenericMDIChildFrame(parent, id, title, pos, size, style, name)
+{
+}
+
 wxMDIChildFrame * wxMDIParentFrame::GetActiveChild() const
     {
         wxGenericMDIChildFrame *pGFrame = wxGenericMDIParentFrame::GetActiveChild();
index 19d2d2800c93c77a0ea20942e8e38e85b55dca0b..661398597671a30c41e76a2f9f301650062430e6 100644 (file)
@@ -261,6 +261,7 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event))
     // and the standard print dialog. The global printing 'mode'
     // is determined by whether the user checks Print to file
     // or not.
+#if wxUSE_FILEDLG
     if (m_printDialogData.GetPrintToFile())
     {
         m_printDialogData.GetPrintData().SetPrintMode(wxPRINT_MODE_FILE);
@@ -274,6 +275,7 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event))
         m_printDialogData.GetPrintData().SetFilename( dialog.GetPath() );
     }
     else
+#endif
     {
         m_printDialogData.GetPrintData().SetPrintMode(wxPRINT_MODE_PRINTER);
     }
index deea726fb60226b6919e86b0dd9274b56939e680..f2c4ba0af70be8e3d4e797d103ba8ae8f1ced66b 100644 (file)
@@ -1202,6 +1202,21 @@ BEGIN_EVENT_TABLE(wxGenericScrolledWindow, wxPanel)
     EVT_PAINT(wxGenericScrolledWindow::OnPaint)
 END_EVENT_TABLE()
 
+wxGenericScrolledWindow::wxGenericScrolledWindow() : wxScrollHelper(this)
+{
+}
+
+wxGenericScrolledWindow::wxGenericScrolledWindow(wxWindow *parent,
+                         wxWindowID winid,
+                         const wxPoint& pos,
+                         const wxSize& size,
+                         long style,
+                         const wxString& name)
+                         : wxScrollHelper(this)
+{
+    Create(parent, winid, pos, size, style, name);
+}
+
 bool wxGenericScrolledWindow::Create(wxWindow *parent,
                               wxWindowID id,
                               const wxPoint& pos,
@@ -1277,6 +1292,24 @@ wxGenericScrolledWindow::MSWWindowProc(WXUINT nMsg,
 
 #endif // __WXMSW__
 
+// ----------------------------------------------------------------------------
+// wxScrolledWindow implementation
+// ----------------------------------------------------------------------------
+
+wxScrolledWindow::wxScrolledWindow()
+{
+}
+
+wxScrolledWindow::wxScrolledWindow(wxWindow *parent,
+                                   wxWindowID winid,
+                                   const wxPoint& pos,
+                                   const wxSize& size,
+                                   long style,
+                                   const wxString& name)
+                                   : wxGenericScrolledWindow(parent, winid, pos, size, style, name)
+{
+}
+
 #endif // !wxGTK
 
 // vi:sts=4:sw=4:et
index 6d463b364bd23e15bd91db337ea12747294b2913..eeb89d7163cd565f18ed6cfa97d897bb10ba2d53 100644 (file)
@@ -112,6 +112,16 @@ static void gtk_bmpbutton_release_callback( GtkWidget *WXUNUSED(widget), wxBitma
 
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton)
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 void wxBitmapButton::Init()
 {
     m_hasFocus =
index 2a7d0437bf6b44c4c240e42a8f7ca642c2b22e0f..db7aa6e4f7ed263bed12ea1b166320d49c9f2540 100644 (file)
@@ -62,6 +62,10 @@ static void gtk_checkbox_clicked_callback( GtkWidget *WXUNUSED(widget), wxCheckB
 // wxCheckBox
 //-----------------------------------------------------------------------------
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
 IMPLEMENT_DYNAMIC_CLASS(wxCheckBox,wxControl)
 
 wxCheckBox::wxCheckBox()
index fc1aa4602adf0965682e13890c11f9190360bc22..0f754b7d52e088e44ef069ac7fa1b947311b73b3 100644 (file)
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
+//-----------------------------------------------------------------------------
+// wxCheckListBoxBase
+//-----------------------------------------------------------------------------
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
 //-----------------------------------------------------------------------------
 // wxCheckListBox
 //-----------------------------------------------------------------------------
index 6d463b364bd23e15bd91db337ea12747294b2913..eeb89d7163cd565f18ed6cfa97d897bb10ba2d53 100644 (file)
@@ -112,6 +112,16 @@ static void gtk_bmpbutton_release_callback( GtkWidget *WXUNUSED(widget), wxBitma
 
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton)
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 void wxBitmapButton::Init()
 {
     m_hasFocus =
index 2a7d0437bf6b44c4c240e42a8f7ca642c2b22e0f..db7aa6e4f7ed263bed12ea1b166320d49c9f2540 100644 (file)
@@ -62,6 +62,10 @@ static void gtk_checkbox_clicked_callback( GtkWidget *WXUNUSED(widget), wxCheckB
 // wxCheckBox
 //-----------------------------------------------------------------------------
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
 IMPLEMENT_DYNAMIC_CLASS(wxCheckBox,wxControl)
 
 wxCheckBox::wxCheckBox()
index fc1aa4602adf0965682e13890c11f9190360bc22..0f754b7d52e088e44ef069ac7fa1b947311b73b3 100644 (file)
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
+//-----------------------------------------------------------------------------
+// wxCheckListBoxBase
+//-----------------------------------------------------------------------------
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
 //-----------------------------------------------------------------------------
 // wxCheckListBox
 //-----------------------------------------------------------------------------
index 4f067315139fa05c96fb3363b2f78ed597a8aad3..9d66f2da5140b79bbee23e9327008319caacdb9a 100644 (file)
@@ -23,6 +23,16 @@ IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
 #include "wx/mac/uma.h"
 #include "wx/bitmap.h"
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
            const wxPoint& pos,
            const wxSize& size, long style,
index 82e4e34c5f29f54f0d4dffe91a19694863dc01d0..52bd329993d52894dd348d2b15305c8c9e108970 100644 (file)
@@ -28,6 +28,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
 static const int kMacOSXHorizontalBorder = 2 ;
 static const int kMacOSXVerticalBorder = 4 ;
 
+wxButtonBase::wxButtonBase()
+{
+}
+
 bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label,
            const wxPoint& pos,
            const wxSize& size, long style,
index 4f067315139fa05c96fb3363b2f78ed597a8aad3..9d66f2da5140b79bbee23e9327008319caacdb9a 100644 (file)
@@ -23,6 +23,16 @@ IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
 #include "wx/mac/uma.h"
 #include "wx/bitmap.h"
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
            const wxPoint& pos,
            const wxSize& size, long style,
index 82e4e34c5f29f54f0d4dffe91a19694863dc01d0..52bd329993d52894dd348d2b15305c8c9e108970 100644 (file)
@@ -28,6 +28,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
 static const int kMacOSXHorizontalBorder = 2 ;
 static const int kMacOSXVerticalBorder = 4 ;
 
+wxButtonBase::wxButtonBase()
+{
+}
+
 bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label,
            const wxPoint& pos,
            const wxSize& size, long style,
index 6e6aa299b2cd2470ba715ac7f41ace0f540ebf3e..e9248b99931bdff3840b38d4a0dc58b2e3e798bb 100644 (file)
@@ -24,6 +24,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox)
 
 #include "wx/mac/uma.h"
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
 // Single check box item
 bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
            const wxPoint& pos,
index 1e88ce34f6cce33300cbf0c4d472812253fd1105..677dc0016311b4669b6da0ac8d326a0af33ad901 100644 (file)
 #include "wx/mac/uma.h"
 #include "Appearance.h"
 
+// ============================================================================
+// implementation of wxCheckListBoxBase
+// ============================================================================
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
 // ============================================================================
 // implementation of wxCheckListBox
 // ============================================================================
index 6e6aa299b2cd2470ba715ac7f41ace0f540ebf3e..e9248b99931bdff3840b38d4a0dc58b2e3e798bb 100644 (file)
@@ -24,6 +24,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox)
 
 #include "wx/mac/uma.h"
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
 // Single check box item
 bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
            const wxPoint& pos,
index 1e88ce34f6cce33300cbf0c4d472812253fd1105..677dc0016311b4669b6da0ac8d326a0af33ad901 100644 (file)
 #include "wx/mac/uma.h"
 #include "Appearance.h"
 
+// ============================================================================
+// implementation of wxCheckListBoxBase
+// ============================================================================
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
 // ============================================================================
 // implementation of wxCheckListBox
 // ============================================================================
index 00da6290faaccd19f3bf28c58e0fa0be75820a1a..6816a08456fa012c000688c5a33fa7dc7032a374 100644 (file)
@@ -39,6 +39,16 @@ void wxButtonCallback (Widget w, XtPointer clientData, XtPointer ptr);
 
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 wxBitmapButton::wxBitmapButton()
 {
     m_marginX = m_marginY = wxDEFAULT_BUTTON_MARGIN;
index 927b50812357ef5a4996b2a4ff46bb1124dd763e..99587b1713078c6911406a061d394b2216317c6b 100644 (file)
@@ -41,6 +41,10 @@ void wxCheckBoxCallback (Widget w, XtPointer clientData,
 
 IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
 // Single check box item
 bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
                         const wxPoint& pos,
index ef510315156bedd0b82c77fd0336b187a1b3fe6e..32b4ee6f082fe4e6f8aef624616441474fdee167 100644 (file)
 #include "wx/arrstr.h"
 
 // ============================================================================
-// implementation
+// implementation of wxCheckListBoxBase
+// ============================================================================
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
+// ============================================================================
+// implementation of wxCheckListBox
 // ============================================================================
 
 IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
index 3a3798dce352d67c3dc07aea01b4d347d6564472..12294cdc71130308123c380562ab7120813eaa3e 100644 (file)
@@ -362,6 +362,47 @@ wxBitmap::~wxBitmap()
 {
 }
 
+wxBitmap::wxBitmap()
+{
+    Init();
+}
+
+wxBitmap::wxBitmap(const wxBitmap& bitmap)
+{
+    Init();
+    Ref(bitmap);
+}
+
+wxBitmap::wxBitmap(const char **data)
+{
+    CreateFromXpm(data);
+}
+
+wxBitmap::wxBitmap(char **data)
+{
+    CreateFromXpm((const char **)data);
+}
+
+#if wxUSE_IMAGE
+
+wxBitmap::wxBitmap(const wxImage& image, int depth)
+{
+    (void)CreateFromImage(image, depth);
+}
+
+wxBitmap::wxBitmap(const wxImage& image, const wxDC& dc)
+{
+    (void)CreateFromImage(image, dc);
+}
+
+#endif // wxUSE_IMAGE
+
+wxBitmap::wxBitmap(const wxIcon& icon)
+{
+    Init();
+    CopyFromIcon(icon);
+}
+
 wxBitmap::wxBitmap(const char bits[], int width, int height, int depth)
 {
     Init();
index a91de899b4fb42bd42c393c9fad04b1300d5b383..080081a63a0801e9bc38a10aabdb9b93e335207c 100644 (file)
@@ -100,6 +100,16 @@ bitmap "disabled" ,
 
 #define BUTTON_HEIGHT_FACTOR (EDIT_CONTROL_FACTOR * 1.1)
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
            const wxPoint& pos,
            const wxSize& size, long style,
index 7d2a84f19863ae0efddc56270f0ee4403b2013c9..2f9b8b58dbdba3752ec160bd65a9db6a8b11832b 100644 (file)
@@ -119,6 +119,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
 // creation/destruction
 // ----------------------------------------------------------------------------
 
+wxButtonBase::wxButtonBase()
+{
+}
+
 bool wxButton::Create(wxWindow *parent,
                       wxWindowID id,
                       const wxString& label,
index 494819949d801d1b08ba06b299b0cd1d727f060c..4c6927632a57a53288c514da145721b8a27afcbb 100644 (file)
@@ -112,6 +112,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
 // wxCheckBox
 // ----------------------------------------------------------------------------
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
 bool wxCheckBox::MSWCommand(WXUINT WXUNUSED(param), WXWORD WXUNUSED(id))
 {
     wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, m_windowId);
index 7f4c77711aa3b7835113854e87c218286e8bf7b5..1eed9804f9f1384e773352e7ad74e01e84efb507 100644 (file)
 #define GetItem(n)    ((wxCheckListBoxItem *)(GetItem(n)))
 
 // ============================================================================
-// implementation
+// implementation of wxCheckListBoxBase
+// ============================================================================
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
+// ============================================================================
+// implementation of wxCheckListBox
 // ============================================================================
 
 
index 3a5919592bb15fc0153a0c9135a91938010d686e..39aacbf81baaaa26b0fc5701851b466416ea2a89 100644 (file)
@@ -106,6 +106,23 @@ IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
 // creation
 // ----------------------------------------------------------------------------
 
+wxChoice::wxChoice()
+{
+}
+
+wxChoice::wxChoice(wxWindow *parent,
+                   wxWindowID id,
+                   const wxPoint& pos,
+                   const wxSize& size,
+                   int n,
+                   const wxString choices[],
+                   long style,
+                   const wxValidator& validator,
+                   const wxString& name)
+{
+    Create(parent, id, pos, size, n, choices, style, validator, name);
+}
+
 bool wxChoice::Create(wxWindow *parent,
                       wxWindowID id,
                       const wxPoint& pos,
index f71cb41a3f5352e0f8838abadb693efe184228f9..2e18557cbab15d08275ebae2ef2c0fcba0154738 100644 (file)
@@ -237,6 +237,24 @@ WXHBRUSH wxComboBox::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSE
 // wxComboBox
 // ----------------------------------------------------------------------------
 
+wxComboBox::wxComboBox()
+{
+}
+
+wxComboBox::wxComboBox(wxWindow *parent, 
+                       wxWindowID id,
+                       const wxString& value,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       int n,
+                       const wxString choices[],
+                       long style,
+                       const wxValidator& validator,
+                       const wxString& name)
+{
+    Create(parent, id, value, pos, size, n, choices, style, validator, name);
+}
+
 bool wxComboBox::MSWProcessEditMsg(WXUINT msg, WXWPARAM wParam, WXLPARAM lParam)
 {
     switch ( msg )
index de94cd9d544bf0f3926dbb395128f8c02ce66d5c..30919e2c120679af2d12808f0aeb3d08d5f41ec0 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
 
+wxGDIObject::wxGDIObject()
+{
+    m_visible = FALSE;
+}
+
 /*
 void wxGDIObject::IncrementResourceUsage(void)
 {
index 90cfac17792dd7f8e8982855ef1405f4e06fa97d..80b2bb0f6fa937f979941f903a92b9752e9bfba6 100644 (file)
@@ -155,6 +155,19 @@ wxListBox::wxListBox()
     m_selected = 0;
 }
 
+wxListBox::wxListBox(wxWindow *parent,
+                     wxWindowID id,
+                     const wxPoint& pos,
+                     const wxSize& size,
+                     int n, 
+                     const wxString choices[],
+                     long style,
+                     const wxValidator& validator,
+                     const wxString& name)
+{
+    Create(parent, id, pos, size, n, choices, style, validator, name);
+}
+
 bool wxListBox::Create(wxWindow *parent,
                        wxWindowID id,
                        const wxPoint& pos,
index 3e9b5966cbb79c2060a07385d00085d5c01966fa..afee0618c9660bbc0abde6825b32ebb793ab632f 100644 (file)
@@ -2778,5 +2778,20 @@ static void wxConvertToMSWListCol(int WXUNUSED(col), const wxListItem& item,
 #endif // _WIN32_IE >= 0x0300
 }
 
+wxListView::wxListView()
+{
+}
+
+wxListView::wxListView(wxWindow *parent,
+                       wxWindowID winid,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxValidator& validator,
+                       const wxString &name)
+{
+    Create(parent, winid, pos, size, style, validator, name);
+}
+
 #endif // wxUSE_LISTCTRL
 
index 58d056fa613bc8c55297b17a30ec2083b369f30b..b5ccacd1e3d6a02181a64ea6c21da6051ba86d93 100644 (file)
@@ -251,6 +251,22 @@ wxRadioBox::wxRadioBox()
     m_radioHeight = NULL;
 }
 
+wxRadioBox::wxRadioBox(wxWindow *parent,
+                       wxWindowID id,
+                       const wxString& title,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       int n,
+                       const wxString choices[],
+                       int majorDim,
+                       long style,
+                       const wxValidator& val,
+                       const wxString& name)
+{
+    (void)Create(parent, id, title, pos, size, n, choices, majorDim,
+                 style, val, name);
+}
+
 bool wxRadioBox::Create(wxWindow *parent,
                         wxWindowID id,
                         const wxString& title,
index 96f4803110b9aa557403689f578971e8f1d27eed..7ad7e7316ee16900ccb6221946bdefb4c268fd2a 100644 (file)
@@ -102,6 +102,25 @@ IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
 #endif
 
 
+wxRadioButton::wxRadioButton()
+{
+    Init();
+}
+
+wxRadioButton::wxRadioButton(wxWindow *parent,
+                             wxWindowID id,
+                             const wxString& label,
+                             const wxPoint& pos,
+                             const wxSize& size,
+                             long style,
+                             const wxValidator& validator,
+                             const wxString& name)
+{
+    Init();
+
+    Create(parent, id, label, pos, size, style, validator, name);
+}
+
 void wxRadioButton::Init()
 {
     m_isChecked = false;
index 2376e815e60e42068218b739716bdbd1445c2a51..760362ee3d835ff4521ce15befdda9dc575175e7 100644 (file)
@@ -134,6 +134,24 @@ END_EVENT_TABLE()
 // wxTopLevelWindowMSW creation
 // ----------------------------------------------------------------------------
 
+wxTopLevelWindowMSW::wxTopLevelWindowMSW()
+{
+    Init();
+}
+
+wxTopLevelWindowMSW::wxTopLevelWindowMSW(wxWindow *parent,
+                                         wxWindowID id,
+                                         const wxString& title,
+                                         const wxPoint& pos,
+                                         const wxSize& size,
+                                         long style,
+                                         const wxString& name)
+{
+    Init();
+
+    (void)Create(parent, id, title, pos, size, style, name);
+}
+
 void wxTopLevelWindowMSW::Init()
 {
     m_iconized =
index 081a98761b990e45d863f055b98d794235c34ca4..f09ad40549e273575bb35669826690238b2c4007 100644 (file)
@@ -380,6 +380,22 @@ END_EVENT_TABLE()
 // implementation
 // ===========================================================================
 
+wxWindowMSW::wxWindowMSW()
+{
+    Init();
+}
+
+wxWindowMSW::wxWindowMSW(wxWindow *parent,
+                         wxWindowID id,
+                         const wxPoint& pos,
+                         const wxSize& size,
+                         long style,
+                         const wxString& name)
+{
+    Init();
+    Create(parent, id, pos, size, style, name);
+}
+
 // ---------------------------------------------------------------------------
 // wxWindow utility functions
 // ---------------------------------------------------------------------------
index 6697e119b7978a6435f990ae2ec5a80d77c53f31..40ebab45f216f910aa51ea6d907e6f796e8b8f43 100644 (file)
@@ -25,6 +25,16 @@ IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
 
 #define BUTTON_HEIGHT_FACTOR (EDIT_CONTROL_FACTOR * 1.1)
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
 bool wxBitmapButton::Create(
   wxWindow*                         pParent
 , wxWindowID                        vId
index 83480a8ef2ff54c281fd68f3c1e27b536de6e982..165e1da2b964ec8ba17b208d965ba30c290dd781 100644 (file)
@@ -41,6 +41,10 @@ extern void  wxAssociateWinWithHandle( HWND         hWnd
 // wxCheckBox
 // ----------------------------------------------------------------------------
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
 bool wxCheckBox::OS2Command(
   WXUINT                            WXUNUSED(uParam)
 , WXWORD                            WXUNUSED(wId)
index ec5776444d2965b20cd9c670ab8a2c6cf2866492..c0b1ac0ca06c40bbaf5d864c3bdefe05528c25bb 100644 (file)
 #define GetItem(n)    ((wxCheckListBoxItem *)(GetItem(n)))
 
 // ============================================================================
-// implementation
+// implementation of wxCheckListBoxBase
+// ============================================================================
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
+// ============================================================================
+// implementation of wxCheckListBox
 // ============================================================================
 
 IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
index 1cf40a8c99f60fb0e6f607d027d42bac8eff0adb..01dd9d86f092077eb786bfac698996859c85b09c 100644 (file)
@@ -2896,4 +2896,19 @@ MRESULT wxListCtrl::OS2WindowProc(
     return lRc;
 } // end of wxListCtrl::WindowProc
 
+wxListView::wxListView()
+{
+}
+
+wxListView::wxListView(wxWindow *parent,
+                       wxWindowID winid,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxValidator& validator,
+                       const wxString &name)
+{
+    Create(parent, winid, pos, size, style, validator, name);
+}
+
 #endif // wxUSE_LISTCTRL
index 396dc3040a41b16cf5cd555023a510696a3214e6..5efb9f76a320246e53a088dbb9f7bc284c5add96 100644 (file)
@@ -52,6 +52,32 @@ END_EVENT_TABLE()
 // wxBitmapButton
 // ----------------------------------------------------------------------------
 
+wxBitmapButtonBase::wxBitmapButtonBase()
+                                      : m_bmpNormal(), 
+                                        m_bmpSelected(), 
+                                        m_bmpFocus(), 
+                                        m_bmpDisabled(), 
+                                        m_marginX(0), 
+                                        m_marginY(0)
+{
+}
+
+wxBitmapButton::wxBitmapButton()
+{
+}
+
+wxBitmapButton::wxBitmapButton(wxWindow *parent,
+                               wxWindowID id,
+                               const wxBitmap& bitmap,
+                               const wxPoint& pos,
+                               const wxSize& size,
+                               long style,
+                               const wxValidator& validator,
+                               const wxString& name)
+{
+    Create(parent, id, bitmap, pos, size, style, validator, name);
+}
+
 bool wxBitmapButton::Create(wxWindow *parent,
                             wxWindowID id,
                             const wxBitmap& bitmap,
index fb7914d2a157c6bfe223b7503af937a7e36e2782..1e925d9af1f63fffab61b10e79ba2bf8709e9ae2 100644 (file)
@@ -60,6 +60,44 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
 // creation
 // ----------------------------------------------------------------------------
 
+wxButtonBase::wxButtonBase()
+{
+}
+
+wxButton::wxButton()
+{
+    Init();
+}
+
+wxButton::wxButton(wxWindow *parent,
+                   wxWindowID id,
+                   const wxBitmap& bitmap,
+                   const wxString& label,
+                   const wxPoint& pos,
+                   const wxSize& size,
+                   long style,
+                   const wxValidator& validator,
+                   const wxString& name)
+{
+    Init();
+
+    Create(parent, id, bitmap, label, pos, size, style, validator, name);
+}
+
+wxButton::wxButton(wxWindow *parent,
+                   wxWindowID id,
+                   const wxString& label,
+                   const wxPoint& pos,
+                   const wxSize& size,
+                   long style,
+                   const wxValidator& validator,
+                   const wxString& name)
+{
+    Init();
+
+    Create(parent, id, label, pos, size, style, validator, name);
+}
+
 void wxButton::Init()
 {
     m_isPressed =
index e80d036343707c130a76773718447049813f9521..966e9f580db678dc8ede6ecb48508f1f97f554ed 100644 (file)
@@ -52,6 +52,29 @@ IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
 // wxCheckBox
 // ----------------------------------------------------------------------------
 
+wxCheckBoxBase::wxCheckBoxBase()
+{
+}
+
+wxCheckBox::wxCheckBox()
+{
+    Init();
+}
+
+wxCheckBox::wxCheckBox(wxWindow *parent,
+                       wxWindowID id,
+                       const wxString& label,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxValidator& validator,
+                       const wxString& name)
+{
+    Init();
+
+    Create(parent, id, label, pos, size, style, validator, name);
+}
+
 void wxCheckBox::Init()
 {
     m_isPressed = FALSE;
index 8f3981f8c41f85598ebad1edaea0dab436df6392..e4f4547272f2b4d823579a3a858c0349f6dc67a5 100644 (file)
 #include "wx/univ/inphand.h"
 #include "wx/univ/theme.h"
 
+// ============================================================================
+// implementation of wxCheckListBoxBase
+// ============================================================================
+
+wxCheckListBoxBase::wxCheckListBoxBase()
+{
+}
+
 // ============================================================================
 // implementation of wxCheckListBox
 // ============================================================================
@@ -51,6 +59,26 @@ IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
 // creation
 // ----------------------------------------------------------------------------
 
+wxCheckListBox::wxCheckListBox()
+{
+    Init();
+}
+
+wxCheckListBox::wxCheckListBox(wxWindow *parent,
+                               wxWindowID id,
+                               const wxPoint& pos,
+                               const wxSize& size,
+                               int nStrings,
+                               const wxString *choices,
+                               long style,
+                               const wxValidator& validator,
+                               const wxString& name)
+{
+    Init();
+
+    Create(parent, id, pos, size, nStrings, choices, style, validator, name);
+}
+
 void wxCheckListBox::Init()
 {
 }
index 81925542a1e7359efdb7f11dea25fb7f7a441ba3..35567aca1b2c74a29df7db2b7543d3582668eff7 100644 (file)
@@ -39,6 +39,23 @@ BEGIN_EVENT_TABLE(wxChoice, wxComboBox)
     EVT_COMBOBOX(-1, wxChoice::OnComboBox)
 END_EVENT_TABLE()
 
+wxChoice::wxChoice()
+{
+}
+
+wxChoice::wxChoice(wxWindow *parent,
+                   wxWindowID id,
+                   const wxPoint& pos,
+                   const wxSize& size,
+                   int n,
+                   const wxString choices[],
+                   long style,
+                   const wxValidator& validator,
+                   const wxString& name)
+{
+    Create(parent, id, pos, size, n, choices, style, validator, name);
+}
+
 bool wxChoice::Create(wxWindow *parent, wxWindowID id,
                       const wxPoint& pos,
                       const wxSize& size,
index a61d580100093ee92c3012755ae185ffa50405ba..53d2c180fc7685fff7ec97ad2d472069e96834a1 100644 (file)
@@ -213,6 +213,25 @@ IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
 // wxComboControl creation
 // ----------------------------------------------------------------------------
 
+wxComboControl::wxComboControl()
+{
+    Init();
+}
+
+wxComboControl::wxComboControl(wxWindow *parent,
+                               wxWindowID id,
+                               const wxString& value,
+                               const wxPoint& pos,
+                               const wxSize& size,
+                               long style,
+                               const wxValidator& validator,
+                               const wxString& name)
+{
+    Init();
+
+    (void)Create(parent, id, value, pos, size, style, validator, name);
+}
+
 void wxComboControl::Init()
 {
     m_popup = (wxComboPopup *)NULL;
@@ -652,6 +671,28 @@ wxSize wxComboListBox::DoGetBestClientSize() const
 // wxComboBox
 // ----------------------------------------------------------------------------
 
+wxComboBox::wxComboBox()
+{
+    Init();
+}
+
+wxComboBox::wxComboBox(wxWindow *parent,
+                       wxWindowID id,
+                       const wxString& value,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       int n,
+                       const wxString *choices,
+                       long style,
+                       const wxValidator& validator,
+                       const wxString& name)
+{
+    Init();
+
+    (void)Create(parent, id, value, pos, size, n, choices,
+                 style, validator, name);
+}
+
 void wxComboBox::Init()
 {
     m_lbox = (wxListBox *)NULL;
index a719d491fa3ad7c43a34c5c237b764f8f4e78b68..9c7c0c7bfc6d128e817a8d1424cf073acb236c15 100644 (file)
@@ -55,6 +55,24 @@ WX_FORWARD_TO_INPUT_CONSUMER(wxControl)
 // creation
 // ----------------------------------------------------------------------------
 
+wxControl::wxControl()
+{
+    Init();
+}
+
+wxControl::wxControl(wxWindow *parent,
+                     wxWindowID id,
+                     const wxPoint& pos,
+                     const wxSize& size,
+                     long style,
+                     const wxValidator& validator,
+                     const wxString& name)
+{
+    Init();
+
+    Create(parent, id, pos, size, style, validator, name);
+}
+
 void wxControl::Init()
 {
     m_indexAccel = -1;
index 40b3f7efe83c2f8d523280766afa68d3a4735513..d87d7ce8af2928d289c16ec2fe06635e2234d0b5 100644 (file)
@@ -46,6 +46,23 @@ END_EVENT_TABLE()
 
 IMPLEMENT_DYNAMIC_CLASS(wxDialog,wxTopLevelWindow)
 
+wxDialog::wxDialog()
+{
+    Init();
+}
+
+wxDialog::wxDialog(wxWindow *parent,
+                   wxWindowID id,
+                   const wxString& title,
+                   const wxPoint& pos,
+                   const wxSize& size,
+                   long style,
+                   const wxString& name)
+{
+    Init();
+    Create(parent, id, title, pos, size, style, name);
+}
+
 void wxDialog::Init()
 {
     m_returnCode = 0;
index 1fa17e7a06cf49850d98820cf96bebd07cbd6540..f246bd9f7bfdff75de7bda20fe338685a07ccfa1 100644 (file)
@@ -49,6 +49,21 @@ IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
 // ctors
 // ----------------------------------------------------------------------------
 
+wxFrame::wxFrame()
+{
+}
+
+wxFrame::wxFrame(wxWindow *parent,
+                 wxWindowID id,
+                 const wxString& title,
+                 const wxPoint& pos,
+                 const wxSize& size,
+                 long style,
+                 const wxString& name)
+{
+    Create(parent, id, title, pos, size, style, name);
+}
+
 bool wxFrame::Create(wxWindow *parent,
                 wxWindowID id,
                 const wxString& title,
index af38f0c8eb7e5289d270bb77199de10f8d3baaff..1dd3897c0b57c01e9997a9c378c5b204f3f0d084 100644 (file)
 // implementation
 // ============================================================================
 
+wxInputConsumer::wxInputConsumer()
+{
+    m_inputHandler = NULL;
+}
+
 // ----------------------------------------------------------------------------
 // focus/activation handling
 // ----------------------------------------------------------------------------
index 099d70f8e396950cf28969f15a98450716356623..d845c548cf006ba1ee70b53e7fcb42fd11f357a1 100644 (file)
@@ -55,6 +55,26 @@ END_EVENT_TABLE()
 // construction
 // ----------------------------------------------------------------------------
 
+wxListBox::wxListBox()
+{
+    Init();
+}
+
+wxListBox::wxListBox(wxWindow *parent,
+                     wxWindowID id,
+                     const wxPoint& pos,
+                     const wxSize& size,
+                     int n,
+                     const wxString choices[],
+                     long style,
+                     const wxValidator& validator,
+                     const wxString& name)
+{
+    Init();
+
+    Create(parent, id, pos, size, n, choices, style, validator, name);
+}
+
 void wxListBox::Init()
 {
     // will be calculated later when needed
index 68e2ec2e236bd2c0eb04a289d276e27b0cf849e3..5de122ecf111f053a2940f708ea364b1e4e3a614 100644 (file)
@@ -102,6 +102,23 @@ IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxCommandEvent)
 // wxNotebook creation
 // ----------------------------------------------------------------------------
 
+wxNotebook::wxNotebook()
+{
+    Init();
+}
+
+wxNotebook::wxNotebook(wxWindow *parent,
+                       wxWindowID id,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxString& name)
+{
+    Init();
+
+    (void)Create(parent, id, pos, size, style, name);
+}
+
 void wxNotebook::Init()
 {
     m_sel = INVALID_PAGE;
index c758abf74bae56eb5703cde99aa240051ed55315..47b7c1a3991ff34bc45b97a79c5199ceffb3d3c0 100644 (file)
@@ -95,6 +95,28 @@ IMPLEMENT_DYNAMIC_CLASS(wxRadioBox, wxControl)
 // wxRadioBox creation
 // ----------------------------------------------------------------------------
 
+wxRadioBox::wxRadioBox()
+{
+    Init();
+}
+
+wxRadioBox::wxRadioBox(wxWindow *parent,
+                       wxWindowID id,
+                       const wxString& title,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       int n,
+                       const wxString *choices,
+                       int majorDim,
+                       long style,
+                       const wxValidator& val,
+                       const wxString& name)
+{
+    Init();
+
+    (void)Create(parent, id, title, pos, size, n, choices, majorDim, style, val, name);
+}
+
 void wxRadioBox::Init()
 {
     m_selection = -1;
index 6ba669f94017c5c8fcada5438db7585225b848df..56676fe82cf07fcbe5d381fa27b337dd0ce02286 100644 (file)
@@ -50,6 +50,25 @@ IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
 // wxRadioButton
 // ----------------------------------------------------------------------------
 
+wxRadioButton::wxRadioButton()
+{
+    Init();
+}
+
+wxRadioButton::wxRadioButton(wxWindow *parent,
+                             wxWindowID id,
+                             const wxString& label,
+                             const wxPoint& pos,
+                             const wxSize& size,
+                             long style,
+                             const wxValidator& validator,
+                             const wxString& name)
+{
+    Init();
+
+    Create(parent, id, label, pos, size, style, validator, name);
+}
+
 bool wxRadioButton::Create(wxWindow *parent,
                         wxWindowID id,
                         const wxString &label,
index 3111cdf4bdfb74ad8209f0f2023e3fe0d04e79b1..0765852720df60322dc84ea845e0495fd2122623 100644 (file)
@@ -622,6 +622,25 @@ IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl)
 // creation
 // ----------------------------------------------------------------------------
 
+wxTextCtrl::wxTextCtrl()
+{
+    Init();
+}
+
+wxTextCtrl::wxTextCtrl(wxWindow *parent,
+                       wxWindowID id,
+                       const wxString& value,
+                       const wxPoint& pos,
+                       const wxSize& size,
+                       long style,
+                       const wxValidator& validator,
+                       const wxString& name)
+{
+    Init();
+
+    Create(parent, id, value, pos, size, style, validator, name);
+}
+
 void wxTextCtrl::Init()
 {
     m_selAnchor =
index c0eea0ba8b3a558578c7ccdc1370d66b10cc13f5..45879f6613bb304605c33a8bde40e15c8c57494d 100644 (file)
@@ -138,6 +138,23 @@ IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl);
 // wxToolBar creation
 // ----------------------------------------------------------------------------
 
+wxToolBar::wxToolBar()
+{
+    Init();
+}
+
+wxToolBar::wxToolBar(wxWindow *parent,
+                     wxWindowID id,
+                     const wxPoint& pos,
+                     const wxSize& size,
+                     long style,
+                     const wxString& name)
+{
+    Init();
+
+    Create(parent, id, pos, size, style, name);
+}
+
 void wxToolBar::Init()
 {
     // no tools yet
index 0ac5717db0d424386391e47cb71699fda45308a2..834c7e516c529d7a12b8b38fe2c16b1bb6e19ef5 100644 (file)
@@ -59,6 +59,24 @@ WX_FORWARD_TO_INPUT_CONSUMER(wxTopLevelWindow)
 int wxTopLevelWindow::ms_drawDecorations = -1;
 int wxTopLevelWindow::ms_canIconize = -1;
 
+wxTopLevelWindow::wxTopLevelWindow()
+{
+    Init();
+}
+
+wxTopLevelWindow::wxTopLevelWindow(wxWindow *parent,
+                                   wxWindowID id,
+                                   const wxString& title,
+                                   const wxPoint& pos,
+                                   const wxSize& size,
+                                   long style,
+                                   const wxString& name)
+{
+    Init();
+
+    Create(parent, id, title, pos, size, style, name);
+}
+
 void wxTopLevelWindow::Init()
 {
     m_isActive = FALSE;
index 4de62140fcde70049e1d6941c4a3e54063871600..ab3d6514b813b4c6a5c55b55d7672bb2ce594d8c 100644 (file)
@@ -101,6 +101,22 @@ END_EVENT_TABLE()
 // creation
 // ----------------------------------------------------------------------------
 
+wxWindow::wxWindow()
+{
+    Init();
+}
+
+wxWindow::wxWindow(wxWindow *parent,
+                   wxWindowID id,
+                   const wxPoint& pos,
+                   const wxSize& size,
+                   long style,
+                   const wxString& name)
+                   : wxWindowNative(parent, id, pos, size, style | wxCLIP_CHILDREN, name)
+{
+    Init();
+}
+
 void wxWindow::Init()
 {
     m_scrollbarVert =