projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added wxAcceleratorEntry::ToRawString().
[wxWidgets.git]
/
include
/
wx
/
msw
/
mdi.h
diff --git
a/include/wx/msw/mdi.h
b/include/wx/msw/mdi.h
index eb85ec402c83a020733c49f7614b13932b37e3e8..caf235fd56a68ec7578df102d48bf70b0cdef00d 100644
(file)
--- a/
include/wx/msw/mdi.h
+++ b/
include/wx/msw/mdi.h
@@
-24,7
+24,7
@@
class WXDLLIMPEXP_FWD_CORE wxAcceleratorTable;
class WXDLLIMPEXP_CORE wxMDIParentFrame : public wxMDIParentFrameBase
{
public:
class WXDLLIMPEXP_CORE wxMDIParentFrame : public wxMDIParentFrameBase
{
public:
- wxMDIParentFrame() { }
+ wxMDIParentFrame() {
Init();
}
wxMDIParentFrame(wxWindow *parent,
wxWindowID id,
const wxString& title,
wxMDIParentFrame(wxWindow *parent,
wxWindowID id,
const wxString& title,
@@
-33,6
+33,8
@@
public:
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
const wxString& name = wxFrameNameStr)
{
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
const wxString& name = wxFrameNameStr)
{
+ Init();
+
Create(parent, id, title, pos, size, style, name);
}
Create(parent, id, title, pos, size, style, name);
}
@@
-121,6
+123,9
@@
protected:
void UpdateClientSize();
private:
void UpdateClientSize();
private:
+ // common part of all ctors
+ void Init();
+
#if wxUSE_MENUS
// "Window" menu commands event handlers
void OnMDICommand(wxCommandEvent& event);
#if wxUSE_MENUS
// "Window" menu commands event handlers
void OnMDICommand(wxCommandEvent& event);