Avoid asserts in wxGTK when wxMDIChildFrame::SetSize() is called.
SetSize() doesn't do anything for MDI children in wxGTK and other ports using TDI version of MDI, but it shouldn't result in an assert from wxTLW::DoMoveWindow() neither, so override DoMoveWindow() in wxTDIChildFrame to avoid it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -302,6 +302,11 @@ protected:
|
|||||||
wxWindow::DoSetClientSize(width, height);
|
wxWindow::DoSetClientSize(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual void DoMoveWindow(int x, int y, int width, int height)
|
||||||
|
{
|
||||||
|
wxWindow::DoMoveWindow(x, y, width, height);
|
||||||
|
}
|
||||||
|
|
||||||
// no size hints
|
// no size hints
|
||||||
virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH),
|
virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH),
|
||||||
int WXUNUSED(maxW), int WXUNUSED(maxH),
|
int WXUNUSED(maxW), int WXUNUSED(maxH),
|
||||||
|
Reference in New Issue
Block a user