Make wxFrame ctors inline in wxQt
No real changes, just make trivial (and going to remain trivial) functions inline.
This commit is contained in:
parent
5b36917548
commit
61b391da90
2 changed files with 5 additions and 12 deletions
|
|
@ -19,14 +19,17 @@ class QScrollArea;
|
|||
class WXDLLIMPEXP_CORE 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 );
|
||||
}
|
||||
virtual ~wxFrame();
|
||||
|
||||
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()
|
||||
{
|
||||
// central widget should be deleted by qt when the main window is destroyed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue