Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,10 +29,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
|
||||
class WXDLLEXPORT wxBitmapButtonBase : public wxButton
|
||||
{
|
||||
public:
|
||||
wxBitmapButtonBase()
|
||||
: m_bmpNormal(), m_bmpSelected(), m_bmpFocus(), m_bmpDisabled()
|
||||
, m_marginX(0), m_marginY(0)
|
||||
{ }
|
||||
wxBitmapButtonBase();
|
||||
|
||||
// set the bitmaps
|
||||
void SetBitmapLabel(const wxBitmap& bitmap)
|
||||
|
@@ -41,22 +41,14 @@ public:
|
||||
// construction
|
||||
// ------------
|
||||
|
||||
wxBookCtrl()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
wxBookCtrl();
|
||||
|
||||
wxBookCtrl(wxWindow *parent,
|
||||
wxWindowID winid,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxEmptyString)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, winid, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxEmptyString);
|
||||
|
||||
// quasi ctor
|
||||
bool Create(wxWindow *parent,
|
||||
|
@@ -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)) { }
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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
|
||||
|
@@ -35,7 +35,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr;
|
||||
class WXDLLEXPORT wxControlBase : public wxWindow
|
||||
{
|
||||
public:
|
||||
wxControlBase() { }
|
||||
wxControlBase();
|
||||
|
||||
virtual ~wxControlBase();
|
||||
|
||||
|
@@ -31,7 +31,7 @@
|
||||
class WXDLLEXPORT wxItemContainer
|
||||
{
|
||||
public:
|
||||
wxItemContainer() { m_clientDataItemsType = wxClientData_None; }
|
||||
wxItemContainer();
|
||||
virtual ~wxItemContainer();
|
||||
|
||||
// adding items
|
||||
@@ -140,7 +140,7 @@ protected:
|
||||
class WXDLLEXPORT wxControlWithItems : public wxControl, public wxItemContainer
|
||||
{
|
||||
public:
|
||||
wxControlWithItems() { }
|
||||
wxControlWithItems();
|
||||
virtual ~wxControlWithItems();
|
||||
|
||||
// we have to redefine these functions here to avoid ambiguities in classes
|
||||
|
@@ -25,7 +25,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr;
|
||||
class WXDLLEXPORT wxDialogBase : public wxTopLevelWindow
|
||||
{
|
||||
public:
|
||||
wxDialogBase() { Init(); }
|
||||
wxDialogBase();
|
||||
virtual ~wxDialogBase() { }
|
||||
|
||||
void Init();
|
||||
|
@@ -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,
|
||||
|
@@ -38,7 +38,7 @@ class WXDLLEXPORT wxListBox;
|
||||
class WXDLLEXPORT wxAnyChoiceDialog : public wxDialog
|
||||
{
|
||||
public:
|
||||
wxAnyChoiceDialog() { }
|
||||
wxAnyChoiceDialog();
|
||||
|
||||
wxAnyChoiceDialog(wxWindow *parent,
|
||||
const wxString& message,
|
||||
@@ -46,11 +46,7 @@ public:
|
||||
int n, const wxString *choices,
|
||||
long styleDlg = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
long styleLbox = wxLB_ALWAYS_SB)
|
||||
{
|
||||
(void)Create(parent, message, caption, n, choices,
|
||||
styleDlg, pos, styleLbox);
|
||||
}
|
||||
long styleLbox = wxLB_ALWAYS_SB);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
const wxString& message,
|
||||
@@ -73,10 +69,7 @@ protected:
|
||||
class WXDLLEXPORT wxSingleChoiceDialog : public wxAnyChoiceDialog
|
||||
{
|
||||
public:
|
||||
wxSingleChoiceDialog()
|
||||
{
|
||||
m_selection = -1;
|
||||
}
|
||||
wxSingleChoiceDialog();
|
||||
|
||||
wxSingleChoiceDialog(wxWindow *parent,
|
||||
const wxString& message,
|
||||
@@ -123,7 +116,7 @@ private:
|
||||
class WXDLLEXPORT wxMultiChoiceDialog : public wxAnyChoiceDialog
|
||||
{
|
||||
public:
|
||||
wxMultiChoiceDialog() { }
|
||||
wxMultiChoiceDialog();
|
||||
|
||||
wxMultiChoiceDialog(wxWindow *parent,
|
||||
const wxString& message,
|
||||
@@ -131,10 +124,7 @@ public:
|
||||
int n,
|
||||
const wxString *choices,
|
||||
long style = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition)
|
||||
{
|
||||
(void)Create(parent, message, caption, n, choices, style, pos);
|
||||
}
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
const wxString& message,
|
||||
|
@@ -45,7 +45,7 @@ class WXDLLEXPORT wxTextCtrl;
|
||||
class WXDLLEXPORT wxGenericFileDialog: public wxFileDialogBase
|
||||
{
|
||||
public:
|
||||
wxGenericFileDialog() { }
|
||||
wxGenericFileDialog();
|
||||
|
||||
wxGenericFileDialog(wxWindow *parent,
|
||||
const wxString& message = wxFileSelectorPromptStr,
|
||||
@@ -115,7 +115,7 @@ class WXDLLEXPORT wxFileDialog: public wxGenericFileDialog
|
||||
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
||||
|
||||
public:
|
||||
wxFileDialog() {}
|
||||
wxFileDialog();
|
||||
|
||||
wxFileDialog(wxWindow *parent,
|
||||
const wxString& message = wxFileSelectorPromptStr,
|
||||
@@ -123,10 +123,7 @@ public:
|
||||
const wxString& defaultFile = _T(""),
|
||||
const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
|
||||
long style = 0,
|
||||
const wxPoint& pos = wxDefaultPosition)
|
||||
:wxGenericFileDialog(parent, message, defaultDir, defaultFile, wildCard, style, pos)
|
||||
{
|
||||
}
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
};
|
||||
|
||||
#endif // USE_GENERIC_FILEDIALOG
|
||||
|
@@ -72,10 +72,7 @@ public:
|
||||
const wxSize &size = wxDefaultSize,
|
||||
long style = wxLC_ICON,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString &name = wxT("listctrl") )
|
||||
{
|
||||
Create(parent, winid, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString &name = wxT("listctrl") );
|
||||
~wxGenericListCtrl();
|
||||
|
||||
bool Create( wxWindow *parent,
|
||||
@@ -251,17 +248,14 @@ class WXDLLEXPORT wxListCtrl: public wxGenericListCtrl
|
||||
DECLARE_DYNAMIC_CLASS(wxListCtrl)
|
||||
|
||||
public:
|
||||
wxListCtrl() {}
|
||||
wxListCtrl();
|
||||
|
||||
wxListCtrl(wxWindow *parent, wxWindowID winid = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxLC_ICON,
|
||||
const wxValidator &validator = wxDefaultValidator,
|
||||
const wxString &name = wxT("listctrl") )
|
||||
: wxGenericListCtrl(parent, winid, pos, size, style, validator, name)
|
||||
{
|
||||
}
|
||||
const wxString &name = wxT("listctrl") );
|
||||
};
|
||||
#endif // !__WXMSW__ || __WIN16__ || __WXUNIVERSAL__
|
||||
|
||||
|
@@ -274,17 +274,14 @@ class wxMDIChildFrame ;
|
||||
class WXDLLEXPORT wxMDIParentFrame: public wxGenericMDIParentFrame
|
||||
{
|
||||
public:
|
||||
wxMDIParentFrame() {}
|
||||
wxMDIParentFrame();
|
||||
wxMDIParentFrame(wxWindow *parent,
|
||||
wxWindowID winid,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
|
||||
const wxString& name = wxFrameNameStr)
|
||||
:wxGenericMDIParentFrame(parent, winid, title, pos, size, style, name)
|
||||
{
|
||||
}
|
||||
const wxString& name = wxFrameNameStr) ;
|
||||
|
||||
wxMDIChildFrame * GetActiveChild() const ;
|
||||
|
||||
@@ -300,19 +297,14 @@ private:
|
||||
class WXDLLEXPORT wxMDIChildFrame: public wxGenericMDIChildFrame
|
||||
{
|
||||
public:
|
||||
wxMDIChildFrame() {}
|
||||
|
||||
wxMDIChildFrame();
|
||||
wxMDIChildFrame( wxGenericMDIParentFrame *parent,
|
||||
wxWindowID winid,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = wxFrameNameStr )
|
||||
:wxGenericMDIChildFrame(parent, winid, title, pos, size, style, name)
|
||||
{
|
||||
}
|
||||
|
||||
const wxString& name = wxFrameNameStr ) ;
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxMDIChildFrame)
|
||||
};
|
||||
@@ -324,12 +316,8 @@ private:
|
||||
class WXDLLEXPORT wxMDIClientWindow: public wxGenericMDIClientWindow
|
||||
{
|
||||
public:
|
||||
wxMDIClientWindow() {}
|
||||
|
||||
wxMDIClientWindow( wxGenericMDIParentFrame *parent, long style = 0 )
|
||||
:wxGenericMDIClientWindow(parent, style)
|
||||
{
|
||||
}
|
||||
wxMDIClientWindow();
|
||||
wxMDIClientWindow( wxGenericMDIParentFrame *parent, long style = 0 );
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxMDIClientWindow)
|
||||
|
@@ -43,17 +43,13 @@ class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
|
||||
public wxScrollHelper
|
||||
{
|
||||
public:
|
||||
wxGenericScrolledWindow() : wxScrollHelper(this) { }
|
||||
wxGenericScrolledWindow();
|
||||
wxGenericScrolledWindow(wxWindow *parent,
|
||||
wxWindowID winid = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxScrolledWindowStyle,
|
||||
const wxString& name = wxPanelNameStr)
|
||||
: wxScrollHelper(this)
|
||||
{
|
||||
Create(parent, winid, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxPanelNameStr);
|
||||
|
||||
virtual ~wxGenericScrolledWindow();
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -37,17 +37,14 @@
|
||||
class WXDLLEXPORT wxListView : public wxListCtrl
|
||||
{
|
||||
public:
|
||||
wxListView() { }
|
||||
wxListView();
|
||||
wxListView( wxWindow *parent,
|
||||
wxWindowID winid = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxLC_REPORT,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString &name = wxT("listctrl") )
|
||||
{
|
||||
Create(parent, winid, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString &name = wxT("listctrl") );
|
||||
|
||||
// focus/selection stuff
|
||||
// ---------------------
|
||||
|
@@ -43,17 +43,17 @@ class WXDLLEXPORT wxBitmap : public wxGDIImage
|
||||
{
|
||||
public:
|
||||
// default ctor creates an invalid bitmap, you must Create() it later
|
||||
wxBitmap() { Init(); }
|
||||
wxBitmap();
|
||||
|
||||
// Copy constructors
|
||||
wxBitmap(const wxBitmap& bitmap) { Init(); Ref(bitmap); }
|
||||
wxBitmap(const wxBitmap& bitmap);
|
||||
|
||||
// Initialize with raw data
|
||||
wxBitmap(const char bits[], int width, int height, int depth = 1);
|
||||
|
||||
// Initialize with XPM data
|
||||
wxBitmap(const char **data) { CreateFromXpm(data); }
|
||||
wxBitmap(char **data) { CreateFromXpm((const char **)data); }
|
||||
wxBitmap(const char **data);
|
||||
wxBitmap(char **data);
|
||||
|
||||
// Load a file or resource
|
||||
wxBitmap(const wxString& name, wxBitmapType type = wxBITMAP_TYPE_BMP_RESOURCE);
|
||||
@@ -72,18 +72,18 @@ public:
|
||||
wxBitmap(int width, int height, const wxDC& dc);
|
||||
|
||||
#if wxUSE_IMAGE
|
||||
|
||||
// Convert from wxImage
|
||||
wxBitmap(const wxImage& image, int depth = -1)
|
||||
{ (void)CreateFromImage(image, depth); }
|
||||
wxBitmap(const wxImage& image, int depth = -1);
|
||||
|
||||
// Create a DDB compatible with the given DC from wxImage
|
||||
wxBitmap(const wxImage& image, const wxDC& dc)
|
||||
{ (void)CreateFromImage(image, dc); }
|
||||
wxBitmap(const wxImage& image, const wxDC& dc);
|
||||
|
||||
#endif // wxUSE_IMAGE
|
||||
|
||||
// we must have this, otherwise icons are silently copied into bitmaps using
|
||||
// the copy ctor but the resulting bitmap is invalid!
|
||||
wxBitmap(const wxIcon& icon) { Init(); CopyFromIcon(icon); }
|
||||
wxBitmap(const wxIcon& icon);
|
||||
|
||||
wxBitmap& operator=(const wxBitmap& bitmap)
|
||||
{
|
||||
|
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxChoice : public wxChoiceBase
|
||||
{
|
||||
public:
|
||||
// ctors
|
||||
wxChoice() { }
|
||||
wxChoice();
|
||||
virtual ~wxChoice();
|
||||
|
||||
wxChoice(wxWindow *parent,
|
||||
@@ -34,10 +34,7 @@ public:
|
||||
int n = 0, const wxString choices[] = NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxChoiceNameStr)
|
||||
{
|
||||
Create(parent, id, pos, size, n, choices, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxChoiceNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -27,7 +27,7 @@
|
||||
class WXDLLEXPORT wxComboBox: public wxChoice
|
||||
{
|
||||
public:
|
||||
wxComboBox() { }
|
||||
wxComboBox();
|
||||
|
||||
wxComboBox(wxWindow *parent, wxWindowID id,
|
||||
const wxString& value = wxEmptyString,
|
||||
@@ -36,10 +36,7 @@ public:
|
||||
int n = 0, const wxString choices[] = NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxComboBoxNameStr)
|
||||
{
|
||||
Create(parent, id, value, pos, size, n, choices, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxComboBoxNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData
|
||||
class WXDLLEXPORT wxGDIObject : public wxObject
|
||||
{
|
||||
public:
|
||||
wxGDIObject() { m_visible = FALSE; };
|
||||
wxGDIObject();
|
||||
|
||||
// Creates the resource
|
||||
virtual bool RealizeResource() { return FALSE; };
|
||||
|
@@ -49,10 +49,7 @@ public:
|
||||
int n = 0, const wxString choices[] = NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxListBoxNameStr)
|
||||
{
|
||||
Create(parent, id, pos, size, n, choices, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxListBoxNameStr);
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
|
@@ -36,11 +36,7 @@ public:
|
||||
int majorDim = 0,
|
||||
long style = wxRA_HORIZONTAL,
|
||||
const wxValidator& val = wxDefaultValidator,
|
||||
const wxString& name = wxRadioBoxNameStr)
|
||||
{
|
||||
(void)Create(parent, id, title, pos, size, n, choices, majorDim,
|
||||
style, val, name);
|
||||
}
|
||||
const wxString& name = wxRadioBoxNameStr);
|
||||
|
||||
~wxRadioBox();
|
||||
|
||||
|
@@ -20,7 +20,7 @@ class WXDLLEXPORT wxRadioButton: public wxControl
|
||||
{
|
||||
public:
|
||||
// ctors and creation functions
|
||||
wxRadioButton() { Init(); }
|
||||
wxRadioButton();
|
||||
|
||||
wxRadioButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -29,12 +29,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxRadioButtonNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxRadioButtonNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxTopLevelWindowMSW : public wxTopLevelWindowBase
|
||||
{
|
||||
public:
|
||||
// constructors and such
|
||||
wxTopLevelWindowMSW() { Init(); }
|
||||
wxTopLevelWindowMSW();
|
||||
|
||||
wxTopLevelWindowMSW(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -32,12 +32,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = wxFrameNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, id, title, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxFrameNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -53,18 +53,14 @@ enum
|
||||
class WXDLLEXPORT wxWindowMSW : public wxWindowBase
|
||||
{
|
||||
public:
|
||||
wxWindowMSW() { Init(); }
|
||||
wxWindowMSW();
|
||||
|
||||
wxWindowMSW(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxPanelNameStr)
|
||||
{
|
||||
Init();
|
||||
Create(parent, id, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxPanelNameStr);
|
||||
|
||||
virtual ~wxWindowMSW();
|
||||
|
||||
|
@@ -53,18 +53,14 @@ public:
|
||||
// ctors
|
||||
// -----
|
||||
|
||||
wxNotebookBase() { }
|
||||
wxNotebookBase();
|
||||
|
||||
wxNotebookBase(wxWindow *parent,
|
||||
wxWindowID winid,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxNOTEBOOK_NAME)
|
||||
: wxBookCtrl(parent, winid, pos, size, style, name)
|
||||
{
|
||||
}
|
||||
|
||||
const wxString& name = wxNOTEBOOK_NAME) ;
|
||||
|
||||
// wxNotebook-specific additions to wxBookCtrl interface
|
||||
// -----------------------------------------------------
|
||||
|
@@ -217,16 +217,13 @@ protected:
|
||||
class WXDLLEXPORT wxScrolledWindow : public wxGenericScrolledWindow
|
||||
{
|
||||
public:
|
||||
wxScrolledWindow() { }
|
||||
wxScrolledWindow();
|
||||
wxScrolledWindow(wxWindow *parent,
|
||||
wxWindowID winid = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxScrolledWindowStyle,
|
||||
const wxString& name = wxPanelNameStr)
|
||||
: wxGenericScrolledWindow(parent, winid, pos, size, style, name)
|
||||
{
|
||||
}
|
||||
const wxString& name = wxPanelNameStr);
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrolledWindow)
|
||||
|
@@ -19,7 +19,7 @@
|
||||
class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
|
||||
{
|
||||
public:
|
||||
wxBitmapButton() { }
|
||||
wxBitmapButton();
|
||||
|
||||
wxBitmapButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -28,10 +28,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr)
|
||||
{
|
||||
Create(parent, id, bitmap, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxInputHandler;
|
||||
class WXDLLEXPORT wxButton : public wxButtonBase
|
||||
{
|
||||
public:
|
||||
wxButton() { Init(); }
|
||||
wxButton();
|
||||
wxButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& bitmap,
|
||||
@@ -45,12 +45,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, bitmap, label, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
wxButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -59,12 +54,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -59,7 +59,7 @@ public:
|
||||
};
|
||||
|
||||
// constructors
|
||||
wxCheckBox() { Init(); }
|
||||
wxCheckBox();
|
||||
|
||||
wxCheckBox(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -68,12 +68,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCheckBoxNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxCheckBoxNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
|
||||
{
|
||||
public:
|
||||
// ctors
|
||||
wxCheckListBox() { Init(); }
|
||||
wxCheckListBox();
|
||||
|
||||
wxCheckListBox(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -40,12 +40,7 @@ public:
|
||||
const wxString *choices = NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxListBoxNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, pos, size, nStrings, choices, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxListBoxNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -23,17 +23,14 @@
|
||||
class WXDLLEXPORT wxChoice : public wxComboBox
|
||||
{
|
||||
public:
|
||||
wxChoice() {}
|
||||
wxChoice();
|
||||
wxChoice(wxWindow *parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0, const wxString choices[] = (const wxString *) NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxChoiceNameStr)
|
||||
{
|
||||
Create(parent, id, pos, size, n, choices, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxChoiceNameStr);
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
|
@@ -99,10 +99,7 @@ class WXDLLEXPORT wxComboControl : public wxControl
|
||||
{
|
||||
public:
|
||||
// construction
|
||||
wxComboControl()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
wxComboControl();
|
||||
|
||||
wxComboControl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -111,12 +108,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxComboBoxNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, id, value, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxComboBoxNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -213,7 +205,7 @@ class WXDLLEXPORT wxComboBox : public wxComboControl, public wxComboBoxBase
|
||||
{
|
||||
public:
|
||||
// ctors and such
|
||||
wxComboBox() { Init(); }
|
||||
wxComboBox();
|
||||
|
||||
wxComboBox(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -224,13 +216,7 @@ public:
|
||||
const wxString *choices = (const wxString *) NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxComboBoxNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, id, value, pos, size, n, choices,
|
||||
style, validator, name);
|
||||
}
|
||||
const wxString& name = wxComboBoxNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -45,19 +45,14 @@ typedef wxString wxControlAction;
|
||||
class WXDLLEXPORT wxControl : public wxControlBase, public wxInputConsumer
|
||||
{
|
||||
public:
|
||||
wxControl() { Init(); }
|
||||
wxControl();
|
||||
|
||||
wxControl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxControlNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxControlNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -23,7 +23,7 @@ class WXDLLEXPORT wxEventLoop;
|
||||
class WXDLLEXPORT wxDialog : public wxDialogBase
|
||||
{
|
||||
public:
|
||||
wxDialog() { Init(); }
|
||||
wxDialog();
|
||||
|
||||
// Constructor with no modal flag - the new convention.
|
||||
wxDialog(wxWindow *parent, wxWindowID id,
|
||||
@@ -31,11 +31,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_DIALOG_STYLE,
|
||||
const wxString& name = wxDialogNameStr)
|
||||
{
|
||||
Init();
|
||||
Create(parent, id, title, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxDialogNameStr);
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
const wxString& title,
|
||||
|
@@ -23,17 +23,14 @@
|
||||
class WXDLLEXPORT wxFrame : public wxFrameBase
|
||||
{
|
||||
public:
|
||||
wxFrame() {}
|
||||
wxFrame();
|
||||
wxFrame(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = wxFrameNameStr)
|
||||
{
|
||||
Create(parent, id, title, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxFrameNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -42,7 +42,7 @@ typedef wxString wxControlAction;
|
||||
class WXDLLEXPORT wxInputConsumer
|
||||
{
|
||||
public:
|
||||
wxInputConsumer() { m_inputHandler = NULL; }
|
||||
wxInputConsumer();
|
||||
|
||||
// get the input handler
|
||||
wxInputHandler *GetInputHandler() const { return m_inputHandler; }
|
||||
|
@@ -56,7 +56,7 @@ class WXDLLEXPORT wxListBox : public wxListBoxBase, public wxScrollHelper
|
||||
{
|
||||
public:
|
||||
// ctors and such
|
||||
wxListBox() { Init(); }
|
||||
wxListBox();
|
||||
wxListBox(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@@ -64,12 +64,7 @@ public:
|
||||
int n = 0, const wxString choices[] = (const wxString *) NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxListBoxNameStr )
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, pos, size, n, choices, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxListBoxNameStr );
|
||||
|
||||
virtual ~wxListBox();
|
||||
|
||||
|
@@ -39,19 +39,14 @@ public:
|
||||
// ctors and such
|
||||
// --------------
|
||||
|
||||
wxNotebook() { Init(); }
|
||||
wxNotebook();
|
||||
|
||||
wxNotebook(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxNOTEBOOK_NAME)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, id, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxNOTEBOOK_NAME);
|
||||
|
||||
// quasi ctor
|
||||
bool Create(wxWindow *parent,
|
||||
|
@@ -32,7 +32,7 @@ class WXDLLEXPORT wxRadioBox : public wxStaticBox,
|
||||
{
|
||||
public:
|
||||
// wxRadioBox construction
|
||||
wxRadioBox() { Init(); }
|
||||
wxRadioBox();
|
||||
|
||||
wxRadioBox(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -43,13 +43,7 @@ public:
|
||||
int majorDim = 0,
|
||||
long style = wxRA_SPECIFY_COLS,
|
||||
const wxValidator& val = wxDefaultValidator,
|
||||
const wxString& name = wxRadioBoxNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, id, title, pos, size, n, choices,
|
||||
majorDim, style, val, name);
|
||||
}
|
||||
const wxString& name = wxRadioBoxNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxRadioButton : public wxCheckBox
|
||||
{
|
||||
public:
|
||||
// constructors
|
||||
wxRadioButton() { Init(); }
|
||||
wxRadioButton();
|
||||
|
||||
wxRadioButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -35,12 +35,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxRadioButtonNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxRadioButtonNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -101,7 +101,7 @@ public:
|
||||
// creation
|
||||
// --------
|
||||
|
||||
wxTextCtrl() { Init(); }
|
||||
wxTextCtrl();
|
||||
|
||||
wxTextCtrl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -110,12 +110,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxTextCtrlNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, value, pos, size, style, validator, name);
|
||||
}
|
||||
const wxString& name = wxTextCtrlNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -39,18 +39,13 @@ class WXDLLEXPORT wxToolBar : public wxToolBarBase
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
wxToolBar() { Init(); }
|
||||
wxToolBar();
|
||||
wxToolBar(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxToolBarNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxToolBarNameStr);
|
||||
|
||||
bool Create( wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -97,19 +97,14 @@ class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative,
|
||||
{
|
||||
public:
|
||||
// construction
|
||||
wxTopLevelWindow() { Init(); }
|
||||
wxTopLevelWindow();
|
||||
wxTopLevelWindow(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = wxFrameNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, title, pos, size, style, name);
|
||||
}
|
||||
const wxString& name = wxFrameNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -55,16 +55,14 @@ public:
|
||||
// ctors and create functions
|
||||
// ---------------------------
|
||||
|
||||
wxWindow() { Init(); }
|
||||
wxWindow();
|
||||
|
||||
wxWindow(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxPanelNameStr)
|
||||
: wxWindowNative(parent, id, pos, size, style | wxCLIP_CHILDREN, name)
|
||||
{ Init(); }
|
||||
const wxString& name = wxPanelNameStr);
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
Reference in New Issue
Block a user