]> git.saurik.com Git - wxWidgets.git/commitdiff
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
authorJulian Smart <julian@anthemion.co.uk>
Thu, 15 Jan 2004 13:49:22 +0000 (13:49 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 15 Jan 2004 13:49:22 +0000 (13:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

119 files changed:
docs/changes.txt
docs/toback24.txt
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
include/wx/window.h
src/cocoa/bmpbuttn.mm
src/cocoa/button.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 8ec34e211e1ea3fae326e05d90f6aafa1650da01..d24e4427da189d7a0207e28174350c3610729612 100644 (file)
@@ -112,6 +112,7 @@ All (GUI):
 - added focus event forwarding to wxGrid (Peter Laufenberg)
 - fixed scrollbar problem in wxGrid (not showing scrollbars
   when sizing smaller) (Shane Harper)
+- dbbrowse demo fixed for Unicode (Wlodzimierz Skiba)
 
 wxMSW:
 
index 3a3c9d442dc9e25c60d79c33c62e2555ee9c6f07..e39b48f8f95cf8d59b02055774c29e1b2b76b4b7 100644 (file)
@@ -249,6 +249,11 @@ Checking in src/msw/combobox.cpp;
 new revision: 1.72; previous revision: 1.71
 done
 
+34. Apply patch [ 851052 ] [msw] Clipboard: Allow automatic format conversionsChecking in clipbrd.cpp;
+/pack/cvsroots/wxwindows/wxWindows/src/msw/clipbrd.cpp,v  <--  clipbrd.cpp
+new revision: 1.54; previous revision: 1.53
+done
+
 
 TODO for 2.4 (items that are not backports)
 ===========================================
index 033f59bf0fa10e0c46bd281837016852399c48e1..ebaafefda3e9d55d27add37d2e35bf9e8bac3f02 100644 (file)
@@ -29,7 +29,10 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
 class WXDLLEXPORT wxBitmapButtonBase : public wxButton
 {
 public:
-    wxBitmapButtonBase();
+    wxBitmapButtonBase()
+        : m_bmpNormal(), m_bmpSelected(), m_bmpFocus(), m_bmpDisabled()
+        , m_marginX(0), m_marginY(0)
+        { }
 
     // set the bitmaps
     void SetBitmapLabel(const wxBitmap& bitmap)
index 51761208cb28f60c73e98023040c5e6106efd110..26f1f2d31ce1162fd43adf1a50e0bf94b13e546b 100644 (file)
@@ -41,14 +41,22 @@ public:
     // construction
     // ------------
 
-    wxBookCtrl();
+    wxBookCtrl()
+    {
+        Init();
+    }
 
     wxBookCtrl(wxWindow *parent,
                wxWindowID winid,
                const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize,
                long style = 0,
-               const wxString& name = wxEmptyString);
+               const wxString& name = wxEmptyString)
+    {
+        Init();
+
+        (void)Create(parent, winid, pos, size, style, name);
+    }
 
     // quasi ctor
     bool Create(wxWindow *parent,
index 243487e6978a35568294d61c7ac61b0e92989ba0..1e7f14a0f77e406c309a569e209d1859fe953624 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 0d7301d705ff3f626199c0738f4e0fd6200683d4..6b30a0a25fa57aa88190f39501fd8fc7f7b880b0 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 4760cd44f8b60b7e14a1fd31d892e72e44aaeaeb..ce34f6cbcdb73d9890ca56d70905f787333ecada 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 226382ed87e134f448991735e90df7a4042feb00..b6600e3592a3d8c2b1afecf8e6e0e3f68c48d7e3 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 3b0f5cb269db634eb2c1633ddbd7f2bb8d7e2826..012e5c5a32d5ad3fc0973ff55c192e4449d2a0c9 100644 (file)
@@ -35,7 +35,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr;
 class WXDLLEXPORT wxControlBase : public wxWindow
 {
 public:
-    wxControlBase();
+    wxControlBase() { }
 
     virtual ~wxControlBase();
 
index 13cb2abf08bace0e2f19fb4c95fc28259e1f1e8d..4108164ea1a01f577fba0576795cee5b516343ea 100644 (file)
@@ -31,7 +31,7 @@
 class WXDLLEXPORT wxItemContainer
 {
 public:
-    wxItemContainer();
+    wxItemContainer() { m_clientDataItemsType = wxClientData_None; }
     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 afa9e1b027a279c774def73c22158c9c67bec087..f9cfb80b715dcec1eb799587ddf9276dd5c20d48 100644 (file)
@@ -25,7 +25,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr;
 class WXDLLEXPORT wxDialogBase : public wxTopLevelWindow
 {
 public:
-    wxDialogBase();
+    wxDialogBase() { Init(); }
     virtual ~wxDialogBase() { }
 
     void Init();
index 42c6dec20825bfe0ae66da2477f0e99aeeba42c3..afcffa03b861b484893268487dff83866098af66 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 d583b4f48932289d9380b0b5d70bd2349f3b2cff..2ccd871e432e5e2a778859c6bc79f4b4dded85ff 100644 (file)
@@ -38,7 +38,7 @@ class WXDLLEXPORT wxListBox;
 class WXDLLEXPORT wxAnyChoiceDialog : public wxDialog
 {
 public:
-    wxAnyChoiceDialog();
+    wxAnyChoiceDialog() { }
 
     wxAnyChoiceDialog(wxWindow *parent,
                       const wxString& message,
@@ -46,7 +46,11 @@ public:
                       int n, const wxString *choices,
                       long styleDlg = wxCHOICEDLG_STYLE,
                       const wxPoint& pos = wxDefaultPosition,
-                      long styleLbox = wxLB_ALWAYS_SB);
+                      long styleLbox = wxLB_ALWAYS_SB)
+    {
+        (void)Create(parent, message, caption, n, choices,
+                     styleDlg, pos, styleLbox);
+    }
 
     bool Create(wxWindow *parent,
                 const wxString& message,
@@ -69,7 +73,10 @@ protected:
 class WXDLLEXPORT wxSingleChoiceDialog : public wxAnyChoiceDialog
 {
 public:
-    wxSingleChoiceDialog();
+    wxSingleChoiceDialog()
+    {
+        m_selection = -1;
+    }
 
     wxSingleChoiceDialog(wxWindow *parent,
                          const wxString& message,
@@ -116,7 +123,7 @@ private:
 class WXDLLEXPORT wxMultiChoiceDialog : public wxAnyChoiceDialog
 {
 public:
-    wxMultiChoiceDialog();
+    wxMultiChoiceDialog() { }
 
     wxMultiChoiceDialog(wxWindow *parent,
                         const wxString& message,
@@ -124,7 +131,10 @@ public:
                         int n,
                         const wxString *choices,
                         long style = wxCHOICEDLG_STYLE,
-                        const wxPoint& pos = wxDefaultPosition);
+                        const wxPoint& pos = wxDefaultPosition)
+    {
+        (void)Create(parent, message, caption, n, choices, style, pos);
+    }
 
     bool Create(wxWindow *parent,
                 const wxString& message,
index f8edaa82af4d25999f9b210308387f38c4a70dc8..22b50f98009285953fc54b8e3968accee0c134aa 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,7 +123,10 @@ public:
                  const wxString& defaultFile = _T(""),
                  const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
                  long style = 0,
-                 const wxPoint& pos = wxDefaultPosition);
+                 const wxPoint& pos = wxDefaultPosition)
+          :wxGenericFileDialog(parent, message, defaultDir, defaultFile, wildCard, style, pos)
+     {
+     }
 };
 
 #endif // USE_GENERIC_FILEDIALOG
index 597d781093a2c62cad60c6fd0fe45fd685c9d320..b07e8242779fdb5d4d89ad101a55fa85cdd3a14e 100644 (file)
@@ -72,7 +72,10 @@ public:
                 const wxSize &size = wxDefaultSize,
                 long style = wxLC_ICON,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString &name = wxT("listctrl") );
+                const wxString &name = wxT("listctrl") )
+    {
+        Create(parent, winid, pos, size, style, validator, name);
+    }
     ~wxGenericListCtrl();
 
     bool Create( wxWindow *parent,
@@ -248,14 +251,17 @@ 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") );
+               const wxString &name = wxT("listctrl") )
+    : wxGenericListCtrl(parent, winid, pos, size, style, validator, name)
+    {
+    }
 };
 #endif // !__WXMSW__ || __WIN16__ || __WXUNIVERSAL__
 
index c56f571f4ba5852a86ea97eaedcb0c84a097ae99..62760707af37f9d21603778ea67ea7d42d06eb3e 100644 (file)
@@ -274,7 +274,7 @@ class wxMDIChildFrame ;
 class WXDLLEXPORT wxMDIParentFrame: public wxGenericMDIParentFrame
 {
 public:
-    wxMDIParentFrame();
+    wxMDIParentFrame() {}
     wxMDIParentFrame(wxWindow *parent,
                      wxWindowID winid,
                      const wxString& title,
@@ -297,7 +297,8 @@ private:
 class WXDLLEXPORT wxMDIChildFrame: public wxGenericMDIChildFrame
 {
 public:
-    wxMDIChildFrame();
+    wxMDIChildFrame() {}
+
     wxMDIChildFrame( wxGenericMDIParentFrame *parent,
                      wxWindowID winid,
                      const wxString& title,
@@ -316,8 +317,12 @@ private:
 class WXDLLEXPORT wxMDIClientWindow: public wxGenericMDIClientWindow
 {
 public:
-    wxMDIClientWindow();
-    wxMDIClientWindow( wxGenericMDIParentFrame *parent, long style = 0 );
+    wxMDIClientWindow() {}
+
+    wxMDIClientWindow( wxGenericMDIParentFrame *parent, long style = 0 )
+        :wxGenericMDIClientWindow(parent, style)
+    {
+    }
 
 private:
     DECLARE_DYNAMIC_CLASS(wxMDIClientWindow)
index 9ff4daa8288011c174725846dc64f23d383249ba..faf66d635aad490cc9a6d952408a03e4b88245e1 100644 (file)
@@ -43,13 +43,17 @@ class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
                                             public wxScrollHelper
 {
 public:
-    wxGenericScrolledWindow();
+    wxGenericScrolledWindow() : wxScrollHelper(this) { }
     wxGenericScrolledWindow(wxWindow *parent,
                      wxWindowID winid = -1,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxScrolledWindowStyle,
-                     const wxString& name = wxPanelNameStr);
+                     const wxString& name = wxPanelNameStr)
+        : wxScrollHelper(this)
+    {
+        Create(parent, winid, pos, size, style, name);
+    }
 
     virtual ~wxGenericScrolledWindow();
 
index 95e071fe189e7638cc84491eab70f21b91761cb4..66f39ed4bfd7bf333f23385d2567af6f7af8726a 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 f5a1b325e05567ae6ab1db346be3e11de3203d52..86f7d56b01aa399f1f7ab10db51fc976193f1542 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") );
+                const wxString &name = wxT("listctrl") )
+    {
+        Create(parent, winid, pos, size, style, validator, name);
+    }
 
     // focus/selection stuff
     // ---------------------
index 28428007674519cd8d3ead527500a8cd3563c5c4..d31371c89185dcda7e0c5e037db002cfee08483a 100644 (file)
@@ -43,17 +43,17 @@ class WXDLLEXPORT wxBitmap : public wxGDIImage
 {
 public:
     // default ctor creates an invalid bitmap, you must Create() it later
-    wxBitmap();
+    wxBitmap() { Init(); }
 
     // Copy constructors
-    wxBitmap(const wxBitmap& bitmap);
+    wxBitmap(const wxBitmap& bitmap) { Init(); Ref(bitmap); }
 
     // Initialize with raw data
     wxBitmap(const char bits[], int width, int height, int depth = 1);
 
     // Initialize with XPM data
-    wxBitmap(const char **data);
-    wxBitmap(char **data);
+    wxBitmap(const char **data) { CreateFromXpm(data); }
+    wxBitmap(char **data) { CreateFromXpm((const 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);
+    wxBitmap(const wxImage& image, int depth = -1)
+        { (void)CreateFromImage(image, depth); }
 
     // Create a DDB compatible with the given DC from wxImage
-    wxBitmap(const wxImage& image, const wxDC& dc);
-
+    wxBitmap(const wxImage& image, const wxDC& dc)
+        { (void)CreateFromImage(image, 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);
+    wxBitmap(const wxIcon& icon) { Init(); CopyFromIcon(icon); }
 
     wxBitmap& operator=(const wxBitmap& bitmap)
     {
index 72d813afc2843536b0642ff66e522243bc724527..c2b47f69c583ee2fb6134f21d4c3e353453ee18a 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxChoice : public wxChoiceBase
 {
 public:
     // ctors
-    wxChoice();
+    wxChoice() { }
     virtual ~wxChoice();
 
     wxChoice(wxWindow *parent,
@@ -34,7 +34,10 @@ public:
              int n = 0, const wxString choices[] = NULL,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxChoiceNameStr);
+             const wxString& name = wxChoiceNameStr)
+    {
+        Create(parent, id, pos, size, n, choices, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 22793a67c827c42193abce428bd3b4393d03b691..a369165d75fae3812109200127966ad3b8febd31 100644 (file)
@@ -27,7 +27,7 @@
 class WXDLLEXPORT wxComboBox: public wxChoice
 {
 public:
-    wxComboBox();
+    wxComboBox() { }
 
     wxComboBox(wxWindow *parent, wxWindowID id,
             const wxString& value = wxEmptyString,
@@ -36,7 +36,10 @@ public:
             int n = 0, const wxString choices[] = NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
-            const wxString& name = wxComboBoxNameStr);
+            const wxString& name = wxComboBoxNameStr)
+    {
+        Create(parent, id, value, pos, size, n, choices, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 494552d0d5ffe15e15c268e896d1c70eb9d5208c..4b085fce52b1907c3da37b15bb9ae7084290f123 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData
 class WXDLLEXPORT wxGDIObject : public wxObject
 {
 public:
-    wxGDIObject();
+    wxGDIObject() { m_visible = FALSE; };
 
     // Creates the resource
     virtual bool RealizeResource() { return FALSE; };
index 657c2c344a98efac1d9a7ce7645e5ed3361b12b9..9574e73e9f105506368240abd5de60fa6eed391e 100644 (file)
@@ -49,7 +49,10 @@ public:
             int n = 0, const wxString choices[] = NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
-            const wxString& name = wxListBoxNameStr);
+            const wxString& name = wxListBoxNameStr)
+    {
+        Create(parent, id, pos, size, n, choices, style, validator, name);
+    }
 
     bool Create(wxWindow *parent, wxWindowID id,
                 const wxPoint& pos = wxDefaultPosition,
index df725e094082abbaaf4a194475b828498a0d7836..0cab158a275fc12c4f9b9cef995560c5555f5b10 100644 (file)
@@ -36,7 +36,11 @@ public:
                int majorDim = 0,
                long style = wxRA_HORIZONTAL,
                const wxValidator& val = wxDefaultValidator,
-               const wxString& name = wxRadioBoxNameStr);
+               const wxString& name = wxRadioBoxNameStr)
+    {
+        (void)Create(parent, id, title, pos, size, n, choices, majorDim,
+                     style, val, name);
+    }
 
     ~wxRadioBox();
 
index 9eb4c81e9037fb3b9f50e59d421f637795c03276..b47ee2e241ed5fb7aae8d01c16cba9174e8ed0b4 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLEXPORT wxRadioButton: public wxControl
 {
 public:
     // ctors and creation functions
-    wxRadioButton();
+    wxRadioButton() { Init(); }
 
     wxRadioButton(wxWindow *parent,
                   wxWindowID id,
@@ -29,7 +29,12 @@ public:
                   const wxSize& size = wxDefaultSize,
                   long style = 0,
                   const wxValidator& validator = wxDefaultValidator,
-                  const wxString& name = wxRadioButtonNameStr);
+                  const wxString& name = wxRadioButtonNameStr)
+    {
+        Init();
+
+        Create(parent, id, label, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 1fb8f26792d6205b42aee86e72d192263f14d480..213538d3c189e8825a227b7022e38d669cffcce4 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxTopLevelWindowMSW : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
-    wxTopLevelWindowMSW();
+    wxTopLevelWindowMSW() { Init(); }
 
     wxTopLevelWindowMSW(wxWindow *parent,
                         wxWindowID id,
@@ -32,7 +32,12 @@ public:
                         const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxDefaultSize,
                         long style = wxDEFAULT_FRAME_STYLE,
-                        const wxString& name = wxFrameNameStr);
+                        const wxString& name = wxFrameNameStr)
+    {
+        Init();
+
+        (void)Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 74f5ec8e5b3485bbc18f424237935816305d8654..d936b7a8d68926eda12ac900eec9d812b15ed4fd 100644 (file)
@@ -53,14 +53,18 @@ enum
 class WXDLLEXPORT wxWindowMSW : public wxWindowBase
 {
 public:
-    wxWindowMSW();
+    wxWindowMSW() { Init(); }
 
     wxWindowMSW(wxWindow *parent,
                 wxWindowID id,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = 0,
-                const wxString& name = wxPanelNameStr);
+                const wxString& name = wxPanelNameStr)
+    {
+        Init();
+        Create(parent, id, pos, size, style, name);
+    }
 
     virtual ~wxWindowMSW();
 
index f5bab344d7f5698336054d916bd9b5e2debe87de..657912d8a0e2b6320e06cba07016ff6c2c1a770b 100644 (file)
@@ -53,7 +53,7 @@ public:
     // ctors
     // -----
 
-    wxNotebookBase();
+    wxNotebookBase() { }
 
     wxNotebookBase(wxWindow *parent,
                    wxWindowID winid,
index b4a54a747c388285e8d004e30bde875fb8a8c7d7..9ebdc14f1bb658b991cf9c91e9909a8b7adc349a 100644 (file)
@@ -217,13 +217,16 @@ 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);
+                         const wxString& name = wxPanelNameStr)
+            : wxGenericScrolledWindow(parent, winid, pos, size, style, name)
+        {
+        }
 
     private:
         DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrolledWindow)
index 4199b5038f6db6a7b9aad331e66371e9ec6cc2ec..34c09b3e3e35fa328227dd860067f6f587615e04 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
 {
 public:
-    wxBitmapButton();
+    wxBitmapButton() { }
 
     wxBitmapButton(wxWindow *parent,
                    wxWindowID id,
@@ -28,7 +28,10 @@ public:
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
                    const wxValidator& validator = wxDefaultValidator,
-                   const wxString& name = wxButtonNameStr);
+                   const wxString& name = wxButtonNameStr)
+    {
+        Create(parent, id, bitmap, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index fcc95e74b6a7c47f12f3cc556204ad1b3218f130..e6bb4f0355ac582c581c476a5f52da9921838732 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxInputHandler;
 class WXDLLEXPORT wxButton : public wxButtonBase
 {
 public:
-    wxButton();
+    wxButton() { Init(); }
     wxButton(wxWindow *parent,
              wxWindowID id,
              const wxBitmap& bitmap,
@@ -45,7 +45,12 @@ public:
              const wxSize& size = wxDefaultSize,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxButtonNameStr);
+             const wxString& name = wxButtonNameStr)
+    {
+        Init();
+
+        Create(parent, id, bitmap, label, pos, size, style, validator, name);
+    }
 
     wxButton(wxWindow *parent,
              wxWindowID id,
@@ -54,7 +59,12 @@ public:
              const wxSize& size = wxDefaultSize,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxButtonNameStr);
+             const wxString& name = wxButtonNameStr)
+    {
+        Init();
+
+        Create(parent, id, label, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 4bca3be985ead9b7c39df14a33e41d6b97aa6a37..b37ff5b637c5dc0ed14a928c19c38495d87542ad 100644 (file)
@@ -59,7 +59,7 @@ public:
     };
 
     // constructors
-    wxCheckBox();
+    wxCheckBox() { Init(); }
 
     wxCheckBox(wxWindow *parent,
                wxWindowID id,
@@ -68,7 +68,12 @@ public:
                const wxSize& size = wxDefaultSize,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxCheckBoxNameStr);
+               const wxString& name = wxCheckBoxNameStr)
+    {
+        Init();
+
+        Create(parent, id, label, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 7d7da30cc109ff230d0e2114ddd5919293883987..ee6232792541b218b785fac1c6aa9f849da02cb2 100644 (file)
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
 {
 public:
     // ctors
-    wxCheckListBox();
+    wxCheckListBox() { Init(); }
 
     wxCheckListBox(wxWindow *parent,
                    wxWindowID id,
@@ -40,7 +40,12 @@ public:
                    const wxString *choices = NULL,
                    long style = 0,
                    const wxValidator& validator = wxDefaultValidator,
-                   const wxString& name = wxListBoxNameStr);
+                   const wxString& name = wxListBoxNameStr)
+    {
+        Init();
+
+        Create(parent, id, pos, size, nStrings, choices, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 3fff15eb4fe37c82af76e3f8eee7e0e5055778b3..a96d443d0215ac0b44388dccd3969ef2e5d89255 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);
+            const wxString& name = wxChoiceNameStr)
+    {
+        Create(parent, id, pos, size, n, choices, style, validator, name);
+    }
 
     bool Create(wxWindow *parent, wxWindowID id,
                 const wxPoint& pos = wxDefaultPosition,
index 44323ba9eecf52d1c240aa6457e65f580c3dc94f..28be5a0a2e5f44a22a8cd9d04dd48f2524a39778 100644 (file)
@@ -99,7 +99,10 @@ class WXDLLEXPORT wxComboControl : public wxControl
 {
 public:
     // construction
-    wxComboControl();
+    wxComboControl()
+    {
+        Init();
+    }
 
     wxComboControl(wxWindow *parent,
                    wxWindowID id,
@@ -108,7 +111,12 @@ public:
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
                    const wxValidator& validator = wxDefaultValidator,
-                   const wxString& name = wxComboBoxNameStr);
+                   const wxString& name = wxComboBoxNameStr)
+    {
+        Init();
+
+        (void)Create(parent, id, value, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
@@ -205,7 +213,7 @@ class WXDLLEXPORT wxComboBox : public wxComboControl, public wxComboBoxBase
 {
 public:
     // ctors and such
-    wxComboBox();
+    wxComboBox() { Init(); }
 
     wxComboBox(wxWindow *parent,
                wxWindowID id,
@@ -216,7 +224,13 @@ public:
                const wxString *choices = (const wxString *) NULL,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxComboBoxNameStr);
+               const wxString& name = wxComboBoxNameStr)
+    {
+        Init();
+
+        (void)Create(parent, id, value, pos, size, n, choices,
+                     style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 2a903039ac0c3ea47d0a4c021c002cff9186554c..710e6307fdecf3965428bd30f2b6a08c57412473 100644 (file)
@@ -45,14 +45,19 @@ typedef wxString wxControlAction;
 class WXDLLEXPORT wxControl : public wxControlBase, public wxInputConsumer
 {
 public:
-    wxControl();
+    wxControl() { Init(); }
 
     wxControl(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
               const wxSize& size = wxDefaultSize, long style = 0,
               const wxValidator& validator = wxDefaultValidator,
-              const wxString& name = wxControlNameStr);
+              const wxString& name = wxControlNameStr)
+    {
+        Init();
+
+        Create(parent, id, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 7bf987c18e052428a99f16801c27ee650f3e0a34..fe7dfe70034a56de1a58e86286e3f21580475b6f 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLEXPORT wxEventLoop;
 class WXDLLEXPORT wxDialog : public wxDialogBase
 {
 public:
-    wxDialog();
+    wxDialog() { Init(); }
 
     // Constructor with no modal flag - the new convention.
     wxDialog(wxWindow *parent, wxWindowID id,
@@ -31,7 +31,11 @@ public:
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize,
              long style = wxDEFAULT_DIALOG_STYLE,
-             const wxString& name = wxDialogNameStr);
+             const wxString& name = wxDialogNameStr)
+    {
+        Init();
+        Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent, wxWindowID id,
                 const wxString& title,
index 94f7b090b19a5eac6ea1a09da5c1068cc496e9bc..e30d470a491bb30f023b3c9ebfda8983874792dd 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);
+            const wxString& name = wxFrameNameStr)
+    {
+        Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 60aa12c7490fd20c5762dc04e7bcbfae8bb1e265..e370a4f6f689cd875feefff246d657348bef2bb4 100644 (file)
@@ -42,7 +42,7 @@ typedef wxString wxControlAction;
 class WXDLLEXPORT wxInputConsumer
 {
 public:
-    wxInputConsumer();
+    wxInputConsumer() { m_inputHandler = NULL; }
 
     // get the input handler
     wxInputHandler *GetInputHandler() const { return m_inputHandler; }
index 06df165a0103bd05c093122540a64c83b694198a..b5c6cc2c21d42b26ae007bd06c36f0a158c3f16c 100644 (file)
@@ -56,7 +56,7 @@ class WXDLLEXPORT wxListBox : public wxListBoxBase, public wxScrollHelper
 {
 public:
     // ctors and such
-    wxListBox();
+    wxListBox() { Init(); }
     wxListBox(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
@@ -64,7 +64,12 @@ public:
               int n = 0, const wxString choices[] = (const wxString *) NULL,
               long style = 0,
               const wxValidator& validator = wxDefaultValidator,
-              const wxString& name = wxListBoxNameStr );
+              const wxString& name = wxListBoxNameStr )
+    {
+        Init();
+
+        Create(parent, id, pos, size, n, choices, style, validator, name);
+    }
 
     virtual ~wxListBox();
 
index 907af319da1894ad077313d4715449e532d0af62..4c82009c99910f743725bf7be37c34aed64ab5f6 100644 (file)
@@ -39,14 +39,19 @@ public:
     // ctors and such
     // --------------
 
-    wxNotebook();
+    wxNotebook() { Init(); }
 
     wxNotebook(wxWindow *parent,
                wxWindowID id,
                const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize,
                long style = 0,
-               const wxString& name = wxNOTEBOOK_NAME);
+               const wxString& name = wxNOTEBOOK_NAME)
+    {
+        Init();
+
+        (void)Create(parent, id, pos, size, style, name);
+    }
 
     // quasi ctor
     bool Create(wxWindow *parent,
index d74e0f3f5b5a3b4ceed3cc98e0104c633d917c4f..409d647d15643a36300f5cf36201db42bdbdbe4f 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLEXPORT wxRadioBox : public wxStaticBox,
 {
 public:
     // wxRadioBox construction
-    wxRadioBox();
+    wxRadioBox() { Init(); }
 
     wxRadioBox(wxWindow *parent,
                wxWindowID id,
@@ -43,7 +43,13 @@ public:
                int majorDim = 0,
                long style = wxRA_SPECIFY_COLS,
                const wxValidator& val = wxDefaultValidator,
-               const wxString& name = wxRadioBoxNameStr);
+               const wxString& name = wxRadioBoxNameStr)
+    {
+        Init();
+
+        (void)Create(parent, id, title, pos, size, n, choices,
+                     majorDim, style, val, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index 43f2ee76782d055efed4110836eb66b4e5a60218..5d78b3e9a3f0897e579e9b5add9bde4dd8c30e96 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxRadioButton : public wxCheckBox
 {
 public:
     // constructors
-    wxRadioButton();
+    wxRadioButton() { Init(); }
 
     wxRadioButton(wxWindow *parent,
                   wxWindowID id,
@@ -35,7 +35,12 @@ public:
                   const wxSize& size = wxDefaultSize,
                   long style = 0,
                   const wxValidator& validator = wxDefaultValidator,
-                  const wxString& name = wxRadioButtonNameStr);
+                  const wxString& name = wxRadioButtonNameStr)
+    {
+        Init();
+
+        Create(parent, id, label, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index f2539578ed480653549bc631ce1352661aa8811c..444962d382f4f413f501d944726b0cb2ab2f19d3 100644 (file)
@@ -101,7 +101,7 @@ public:
     // creation
     // --------
 
-    wxTextCtrl();
+    wxTextCtrl() { Init(); }
 
     wxTextCtrl(wxWindow *parent,
                wxWindowID id,
@@ -110,7 +110,12 @@ public:
                const wxSize& size = wxDefaultSize,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxTextCtrlNameStr);
+               const wxString& name = wxTextCtrlNameStr)
+    {
+        Init();
+
+        Create(parent, id, value, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index c4770ccf66ee59c92a0f7ccbd3fcd954f8c89e7f..73b35cb0a6bc03615dc9285dc226f03bf2a30c29 100644 (file)
@@ -39,13 +39,18 @@ class WXDLLEXPORT wxToolBar : public wxToolBarBase
 {    
 public:
     // construction/destruction
-    wxToolBar();
+    wxToolBar() { Init(); }
     wxToolBar(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
               const wxSize& size = wxDefaultSize,
               long style = 0,
-              const wxString& name = wxToolBarNameStr);
+              const wxString& name = wxToolBarNameStr)
+    {
+        Init();
+
+        Create(parent, id, pos, size, style, name);
+    }
 
     bool Create( wxWindow *parent,
                  wxWindowID id,
index 7941417b4e1512980576d4d0d48f7afbc1bd5a34..9790eb6ca90913ecb9f533b07d6a1c283a00958d 100644 (file)
@@ -97,14 +97,19 @@ class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative,
 {
 public:
     // construction
-    wxTopLevelWindow();
+    wxTopLevelWindow() { Init(); }
     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);
+                     const wxString& name = wxFrameNameStr)
+    {
+        Init();
+
+        Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index dafa83279d496c5f23af6f33206452e8d9cbbba3..01115c15f335e2b79bf1bddf4d5a9eecf5a57864 100644 (file)
@@ -55,14 +55,16 @@ public:
     // ctors and create functions
     // ---------------------------
 
-    wxWindow();
+    wxWindow() { Init(); }
 
     wxWindow(wxWindow *parent,
              wxWindowID id,
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize,
              long style = 0,
-             const wxString& name = wxPanelNameStr);
+             const wxString& name = wxPanelNameStr)
+        : wxWindowNative(parent, id, pos, size, style | wxCLIP_CHILDREN, name)
+        { Init(); }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
index fae09c7ec06746a4b84543ea60d1e347f8e42fdc..f1eed002acc885d35be42bb3769890c14cd817fb 100644 (file)
@@ -104,7 +104,7 @@ public:
 
         // default ctor, initializes everything which can be initialized before
         // Create()
-    wxWindowBase();
+    wxWindowBase() ;
 
         // pseudo ctor (can't be virtual, called from ctor)
     bool CreateBase(wxWindowBase *parent,
index 3b12f4224fc3202bc24d6a5d2039e52b3d690bc0..61a0193676f0b93503b7086c9b51ee312a017fff 100644 (file)
@@ -26,16 +26,6 @@ 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 5bf61552c3b0d2093f87b3a97d9522b2b530dab3..7b93013217cb15932c6238b39e7a38406a41fb49 100644 (file)
 #import <AppKit/NSButton.h>
 #include "wx/cocoa/string.h"
 
-wxButtonBase::wxButtonBase()
-{
-}
-
 IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
 BEGIN_EVENT_TABLE(wxButton, wxButtonBase)
 END_EVENT_TABLE()
index 25d28d865d3f801e77b287858818734693319586..b04136183e26f69943df4b3cc2a638dd66e55c05 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 0e81ac87f4938da58478da84ad9995e33ffe7082..9fc8861528cfc41c81608adeafdb705bf4cf29ef 100644 (file)
 // implementation
 // ============================================================================
 
-wxChoiceBase::wxChoiceBase()
-{
-}
-
 wxChoiceBase::~wxChoiceBase()
 {
     // this destructor is required for Darwin
index 4bddbffceac246e20ab610e80890a660015f2973..ec97111188ae4c169cf3eaea1a9bdae455c3ad49 100644 (file)
 // implementation
 // ============================================================================
 
-wxControlBase::wxControlBase()
-{
-}
-
 wxControlBase::~wxControlBase()
 {
     // this destructor is required for Darwin
index c4debc5e7ccf175125135b441117455b338527f1..03be03f3dc1cc17287d09e967425192fe5cef4bc 100644 (file)
 // implementation
 // ============================================================================
 
-wxItemContainer::wxItemContainer()
-{
-    m_clientDataItemsType = wxClientData_None;
-}
-
 wxItemContainer::~wxItemContainer()
 {
     // this destructor is required for Darwin
@@ -156,10 +151,6 @@ void *wxItemContainer::GetClientData(int n) const
     return DoGetItemClientData(n);
 }
 
-wxControlWithItems::wxControlWithItems()
-{
-}
-
 wxControlWithItems::~wxControlWithItems()
 {
     // this destructor is required for Darwin
index 8b6e4f619ce8d22cdbba442ec836003cc795b33b..e53b1640ab1e7f78507762fa38e824969044967c 100644 (file)
@@ -53,11 +53,6 @@ END_EVENT_TABLE()
 WX_DELEGATE_TO_CONTROL_CONTAINER(wxDialogBase)
 #endif
 
-wxDialogBase::wxDialogBase()
-{
-    Init();
-}
-
 void wxDialogBase::Init()
 {
     m_returnCode = 0;
index a93e631aebf4e684f7b0aa7448908ec0416b02bb..3f08486a1a545c91713d473391eea15b26a3db40 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxFileDialogBase, wxDialog)
 
-wxFileDialogBase::wxFileDialogBase ()
-{
-}
-
 wxFileDialogBase::wxFileDialogBase(wxWindow *parent,
                                    const wxString& message,
                                    const wxString& defaultDir,
index 01c58ffce58fc26e92dc4acc5686525de0b8e1f5..292bec8130cda3ba86d8bc218bcfd8f4792c47fb 100644 (file)
 // implementation
 // ============================================================================
 
-wxListBoxBase::wxListBoxBase()
-{
-}
-
 wxListBoxBase::~wxListBoxBase()
 {
     // this destructor is required for Darwin
index 8746f2729db8f75a096077252a41fcfe8d46863a..6beaa057ecf1b9ff1f00c9ca03c9f345c3b305ad 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 960619d89357b5c2df8afec0e8d66d875ee6097f..629284a4badeb17fe983051f8e704842bd4bb71b 100644 (file)
@@ -238,22 +238,6 @@ 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,
@@ -312,11 +296,6 @@ END_EVENT_TABLE()
 
 IMPLEMENT_DYNAMIC_CLASS(wxSingleChoiceDialog, wxDialog)
 
-wxSingleChoiceDialog::wxSingleChoiceDialog()
-{
-    m_selection = -1;
-}
-
 wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow *parent,
                                            const wxString& message,
                                            const wxString& caption,
@@ -387,21 +366,6 @@ 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 3d08cd09458896a273c7732199c603e44528e3d3..660128edf2d91223705608e6eaa8ba164ae15e15 100644 (file)
@@ -1146,11 +1146,7 @@ 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 b336cabd6c1cb6bd7ce0fd9799437738b797c6e0..6f301a8f232db66f95e02e5f83f95a8fa6a64f66 100644 (file)
@@ -835,10 +835,6 @@ 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,
@@ -1368,21 +1364,6 @@ 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 bdb873316985fd0631ca6c164419bed598513e23..394e27505cde8397c53863c66c1ed48cf09b144b 100644 (file)
@@ -4533,17 +4533,6 @@ 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)
@@ -5393,39 +5382,5 @@ 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 bfa1b92b8bd1752843fa928a9f5b4d8bfe4de1f3..e0b951be0e7b369d28c20b8b8bc1dc49d85431ba 100644 (file)
@@ -797,46 +797,6 @@ 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 661398597671a30c41e76a2f9f301650062430e6..19d2d2800c93c77a0ea20942e8e38e85b55dca0b 100644 (file)
@@ -261,7 +261,6 @@ 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);
@@ -275,7 +274,6 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event))
         m_printDialogData.GetPrintData().SetFilename( dialog.GetPath() );
     }
     else
-#endif
     {
         m_printDialogData.GetPrintData().SetPrintMode(wxPRINT_MODE_PRINTER);
     }
index f2c4ba0af70be8e3d4e797d103ba8ae8f1ced66b..deea726fb60226b6919e86b0dd9274b56939e680 100644 (file)
@@ -1202,21 +1202,6 @@ 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,
@@ -1292,24 +1277,6 @@ 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 eeb89d7163cd565f18ed6cfa97d897bb10ba2d53..6d463b364bd23e15bd91db337ea12747294b2913 100644 (file)
@@ -112,16 +112,6 @@ 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 db7aa6e4f7ed263bed12ea1b166320d49c9f2540..2a7d0437bf6b44c4c240e42a8f7ca642c2b22e0f 100644 (file)
@@ -62,10 +62,6 @@ static void gtk_checkbox_clicked_callback( GtkWidget *WXUNUSED(widget), wxCheckB
 // wxCheckBox
 //-----------------------------------------------------------------------------
 
-wxCheckBoxBase::wxCheckBoxBase()
-{
-}
-
 IMPLEMENT_DYNAMIC_CLASS(wxCheckBox,wxControl)
 
 wxCheckBox::wxCheckBox()
index 0f754b7d52e088e44ef069ac7fa1b947311b73b3..fc1aa4602adf0965682e13890c11f9190360bc22 100644 (file)
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
-//-----------------------------------------------------------------------------
-// wxCheckListBoxBase
-//-----------------------------------------------------------------------------
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
 //-----------------------------------------------------------------------------
 // wxCheckListBox
 //-----------------------------------------------------------------------------
index eeb89d7163cd565f18ed6cfa97d897bb10ba2d53..6d463b364bd23e15bd91db337ea12747294b2913 100644 (file)
@@ -112,16 +112,6 @@ 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 db7aa6e4f7ed263bed12ea1b166320d49c9f2540..2a7d0437bf6b44c4c240e42a8f7ca642c2b22e0f 100644 (file)
@@ -62,10 +62,6 @@ static void gtk_checkbox_clicked_callback( GtkWidget *WXUNUSED(widget), wxCheckB
 // wxCheckBox
 //-----------------------------------------------------------------------------
 
-wxCheckBoxBase::wxCheckBoxBase()
-{
-}
-
 IMPLEMENT_DYNAMIC_CLASS(wxCheckBox,wxControl)
 
 wxCheckBox::wxCheckBox()
index 0f754b7d52e088e44ef069ac7fa1b947311b73b3..fc1aa4602adf0965682e13890c11f9190360bc22 100644 (file)
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
-//-----------------------------------------------------------------------------
-// wxCheckListBoxBase
-//-----------------------------------------------------------------------------
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
 //-----------------------------------------------------------------------------
 // wxCheckListBox
 //-----------------------------------------------------------------------------
index 9d66f2da5140b79bbee23e9327008319caacdb9a..4f067315139fa05c96fb3363b2f78ed597a8aad3 100644 (file)
@@ -23,16 +23,6 @@ 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 52bd329993d52894dd348d2b15305c8c9e108970..82e4e34c5f29f54f0d4dffe91a19694863dc01d0 100644 (file)
@@ -28,10 +28,6 @@ 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 9d66f2da5140b79bbee23e9327008319caacdb9a..4f067315139fa05c96fb3363b2f78ed597a8aad3 100644 (file)
@@ -23,16 +23,6 @@ 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 52bd329993d52894dd348d2b15305c8c9e108970..82e4e34c5f29f54f0d4dffe91a19694863dc01d0 100644 (file)
@@ -28,10 +28,6 @@ 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 e9248b99931bdff3840b38d4a0dc58b2e3e798bb..6e6aa299b2cd2470ba715ac7f41ace0f540ebf3e 100644 (file)
@@ -24,10 +24,6 @@ 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 677dc0016311b4669b6da0ac8d326a0af33ad901..1e88ce34f6cce33300cbf0c4d472812253fd1105 100644 (file)
 #include "wx/mac/uma.h"
 #include "Appearance.h"
 
-// ============================================================================
-// implementation of wxCheckListBoxBase
-// ============================================================================
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
 // ============================================================================
 // implementation of wxCheckListBox
 // ============================================================================
index e9248b99931bdff3840b38d4a0dc58b2e3e798bb..6e6aa299b2cd2470ba715ac7f41ace0f540ebf3e 100644 (file)
@@ -24,10 +24,6 @@ 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 677dc0016311b4669b6da0ac8d326a0af33ad901..1e88ce34f6cce33300cbf0c4d472812253fd1105 100644 (file)
 #include "wx/mac/uma.h"
 #include "Appearance.h"
 
-// ============================================================================
-// implementation of wxCheckListBoxBase
-// ============================================================================
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
 // ============================================================================
 // implementation of wxCheckListBox
 // ============================================================================
index 6816a08456fa012c000688c5a33fa7dc7032a374..00da6290faaccd19f3bf28c58e0fa0be75820a1a 100644 (file)
@@ -39,16 +39,6 @@ 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 99587b1713078c6911406a061d394b2216317c6b..927b50812357ef5a4996b2a4ff46bb1124dd763e 100644 (file)
@@ -41,10 +41,6 @@ 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 32b4ee6f082fe4e6f8aef624616441474fdee167..ef510315156bedd0b82c77fd0336b187a1b3fe6e 100644 (file)
 #include "wx/arrstr.h"
 
 // ============================================================================
-// implementation of wxCheckListBoxBase
-// ============================================================================
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
-// ============================================================================
-// implementation of wxCheckListBox
+// implementation
 // ============================================================================
 
 IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
index 12294cdc71130308123c380562ab7120813eaa3e..3a3798dce352d67c3dc07aea01b4d347d6564472 100644 (file)
@@ -362,47 +362,6 @@ 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 080081a63a0801e9bc38a10aabdb9b93e335207c..a91de899b4fb42bd42c393c9fad04b1300d5b383 100644 (file)
@@ -100,16 +100,6 @@ 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 2f9b8b58dbdba3752ec160bd65a9db6a8b11832b..7d2a84f19863ae0efddc56270f0ee4403b2013c9 100644 (file)
@@ -119,10 +119,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
 // creation/destruction
 // ----------------------------------------------------------------------------
 
-wxButtonBase::wxButtonBase()
-{
-}
-
 bool wxButton::Create(wxWindow *parent,
                       wxWindowID id,
                       const wxString& label,
index 4c6927632a57a53288c514da145721b8a27afcbb..494819949d801d1b08ba06b299b0cd1d727f060c 100644 (file)
@@ -112,10 +112,6 @@ 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 1eed9804f9f1384e773352e7ad74e01e84efb507..7f4c77711aa3b7835113854e87c218286e8bf7b5 100644 (file)
 #define GetItem(n)    ((wxCheckListBoxItem *)(GetItem(n)))
 
 // ============================================================================
-// implementation of wxCheckListBoxBase
-// ============================================================================
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
-// ============================================================================
-// implementation of wxCheckListBox
+// implementation
 // ============================================================================
 
 
index 39aacbf81baaaa26b0fc5701851b466416ea2a89..3a5919592bb15fc0153a0c9135a91938010d686e 100644 (file)
@@ -106,23 +106,6 @@ 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 2e18557cbab15d08275ebae2ef2c0fcba0154738..f71cb41a3f5352e0f8838abadb693efe184228f9 100644 (file)
@@ -237,24 +237,6 @@ 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 30919e2c120679af2d12808f0aeb3d08d5f41ec0..de94cd9d544bf0f3926dbb395128f8c02ce66d5c 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
 
-wxGDIObject::wxGDIObject()
-{
-    m_visible = FALSE;
-}
-
 /*
 void wxGDIObject::IncrementResourceUsage(void)
 {
index 80b2bb0f6fa937f979941f903a92b9752e9bfba6..90cfac17792dd7f8e8982855ef1405f4e06fa97d 100644 (file)
@@ -155,19 +155,6 @@ 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 afee0618c9660bbc0abde6825b32ebb793ab632f..3e9b5966cbb79c2060a07385d00085d5c01966fa 100644 (file)
@@ -2778,20 +2778,5 @@ 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 b5ccacd1e3d6a02181a64ea6c21da6051ba86d93..58d056fa613bc8c55297b17a30ec2083b369f30b 100644 (file)
@@ -251,22 +251,6 @@ 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 7ad7e7316ee16900ccb6221946bdefb4c268fd2a..96f4803110b9aa557403689f578971e8f1d27eed 100644 (file)
@@ -102,25 +102,6 @@ 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 760362ee3d835ff4521ce15befdda9dc575175e7..2376e815e60e42068218b739716bdbd1445c2a51 100644 (file)
@@ -134,24 +134,6 @@ 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 f09ad40549e273575bb35669826690238b2c4007..081a98761b990e45d863f055b98d794235c34ca4 100644 (file)
@@ -380,22 +380,6 @@ 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 40ebab45f216f910aa51ea6d907e6f796e8b8f43..6697e119b7978a6435f990ae2ec5a80d77c53f31 100644 (file)
@@ -25,16 +25,6 @@ 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 165e1da2b964ec8ba17b208d965ba30c290dd781..83480a8ef2ff54c281fd68f3c1e27b536de6e982 100644 (file)
@@ -41,10 +41,6 @@ extern void  wxAssociateWinWithHandle( HWND         hWnd
 // wxCheckBox
 // ----------------------------------------------------------------------------
 
-wxCheckBoxBase::wxCheckBoxBase()
-{
-}
-
 bool wxCheckBox::OS2Command(
   WXUINT                            WXUNUSED(uParam)
 , WXWORD                            WXUNUSED(wId)
index c0b1ac0ca06c40bbaf5d864c3bdefe05528c25bb..ec5776444d2965b20cd9c670ab8a2c6cf2866492 100644 (file)
 #define GetItem(n)    ((wxCheckListBoxItem *)(GetItem(n)))
 
 // ============================================================================
-// implementation of wxCheckListBoxBase
-// ============================================================================
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
-// ============================================================================
-// implementation of wxCheckListBox
+// implementation
 // ============================================================================
 
 IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
index 01dd9d86f092077eb786bfac698996859c85b09c..1cf40a8c99f60fb0e6f607d027d42bac8eff0adb 100644 (file)
@@ -2896,19 +2896,4 @@ 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 5efb9f76a320246e53a088dbb9f7bc284c5add96..396dc3040a41b16cf5cd555023a510696a3214e6 100644 (file)
@@ -52,32 +52,6 @@ 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 1e925d9af1f63fffab61b10e79ba2bf8709e9ae2..fb7914d2a157c6bfe223b7503af937a7e36e2782 100644 (file)
@@ -60,44 +60,6 @@ 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 966e9f580db678dc8ede6ecb48508f1f97f554ed..e80d036343707c130a76773718447049813f9521 100644 (file)
@@ -52,29 +52,6 @@ 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 e4f4547272f2b4d823579a3a858c0349f6dc67a5..8f3981f8c41f85598ebad1edaea0dab436df6392 100644 (file)
 #include "wx/univ/inphand.h"
 #include "wx/univ/theme.h"
 
-// ============================================================================
-// implementation of wxCheckListBoxBase
-// ============================================================================
-
-wxCheckListBoxBase::wxCheckListBoxBase()
-{
-}
-
 // ============================================================================
 // implementation of wxCheckListBox
 // ============================================================================
@@ -59,26 +51,6 @@ 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 35567aca1b2c74a29df7db2b7543d3582668eff7..81925542a1e7359efdb7f11dea25fb7f7a441ba3 100644 (file)
@@ -39,23 +39,6 @@ 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 53d2c180fc7685fff7ec97ad2d472069e96834a1..a61d580100093ee92c3012755ae185ffa50405ba 100644 (file)
@@ -213,25 +213,6 @@ 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;
@@ -671,28 +652,6 @@ 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 9c7c0c7bfc6d128e817a8d1424cf073acb236c15..a719d491fa3ad7c43a34c5c237b764f8f4e78b68 100644 (file)
@@ -55,24 +55,6 @@ 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 d87d7ce8af2928d289c16ec2fe06635e2234d0b5..40b3f7efe83c2f8d523280766afa68d3a4735513 100644 (file)
@@ -46,23 +46,6 @@ 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 f246bd9f7bfdff75de7bda20fe338685a07ccfa1..1fa17e7a06cf49850d98820cf96bebd07cbd6540 100644 (file)
@@ -49,21 +49,6 @@ 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 1dd3897c0b57c01e9997a9c378c5b204f3f0d084..af38f0c8eb7e5289d270bb77199de10f8d3baaff 100644 (file)
 // implementation
 // ============================================================================
 
-wxInputConsumer::wxInputConsumer()
-{
-    m_inputHandler = NULL;
-}
-
 // ----------------------------------------------------------------------------
 // focus/activation handling
 // ----------------------------------------------------------------------------
index d845c548cf006ba1ee70b53e7fcb42fd11f357a1..099d70f8e396950cf28969f15a98450716356623 100644 (file)
@@ -55,26 +55,6 @@ 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 5de122ecf111f053a2940f708ea364b1e4e3a614..68e2ec2e236bd2c0eb04a289d276e27b0cf849e3 100644 (file)
@@ -102,23 +102,6 @@ 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 47b7c1a3991ff34bc45b97a79c5199ceffb3d3c0..c758abf74bae56eb5703cde99aa240051ed55315 100644 (file)
@@ -95,28 +95,6 @@ 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 56676fe82cf07fcbe5d381fa27b337dd0ce02286..6ba669f94017c5c8fcada5438db7585225b848df 100644 (file)
@@ -50,25 +50,6 @@ 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 0765852720df60322dc84ea845e0495fd2122623..3111cdf4bdfb74ad8209f0f2023e3fe0d04e79b1 100644 (file)
@@ -622,25 +622,6 @@ 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 45879f6613bb304605c33a8bde40e15c8c57494d..c0eea0ba8b3a558578c7ccdc1370d66b10cc13f5 100644 (file)
@@ -138,23 +138,6 @@ 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 834c7e516c529d7a12b8b38fe2c16b1bb6e19ef5..0ac5717db0d424386391e47cb71699fda45308a2 100644 (file)
@@ -59,24 +59,6 @@ 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 ab3d6514b813b4c6a5c55b55d7672bb2ce594d8c..4de62140fcde70049e1d6941c4a3e54063871600 100644 (file)
@@ -101,22 +101,6 @@ 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 =