X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..44fd6f721ad375033b2a2b64ac5f703ac70cb8f0:/src/univ/topluniv.cpp diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index 834c7e516c..dea87cf2f5 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -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; @@ -256,7 +238,7 @@ void wxTopLevelWindow::DoSetClientSize(int width, int height) wxTopLevelWindowNative::DoSetClientSize(width, height); } -void wxTopLevelWindow::OnNcPaint(wxPaintEvent& event) +void wxTopLevelWindow::OnNcPaint(wxNcPaintEvent& event) { if ( !ms_drawDecorations || !m_renderer ) event.Skip();