Make wxFrame ctors inline in wxQt
No real changes, just make trivial (and going to remain trivial) functions inline.
This commit is contained in:
@@ -19,14 +19,17 @@ class QScrollArea;
|
|||||||
class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
|
class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxFrame();
|
wxFrame() { }
|
||||||
wxFrame(wxWindow *parent,
|
wxFrame(wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxString& title,
|
const wxString& title,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxDEFAULT_FRAME_STYLE,
|
long style = wxDEFAULT_FRAME_STYLE,
|
||||||
const wxString& name = wxFrameNameStr);
|
const wxString& name = wxFrameNameStr)
|
||||||
|
{
|
||||||
|
Create( parent, id, title, pos, size, style, name );
|
||||||
|
}
|
||||||
virtual ~wxFrame();
|
virtual ~wxFrame();
|
||||||
|
|
||||||
bool Create(wxWindow *parent,
|
bool Create(wxWindow *parent,
|
||||||
|
@@ -44,16 +44,6 @@ class wxQtCentralWidget : public wxQtEventSignalHandler< QScrollArea, wxFrame >
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
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 );
|
|
||||||
}
|
|
||||||
|
|
||||||
wxFrame::~wxFrame()
|
wxFrame::~wxFrame()
|
||||||
{
|
{
|
||||||
// central widget should be deleted by qt when the main window is destroyed
|
// central widget should be deleted by qt when the main window is destroyed
|
||||||
|
Reference in New Issue
Block a user