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/branches/WX_3_0_BRANCH@75523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -302,6 +302,11 @@ protected:
|
||||
wxWindow::DoSetClientSize(width, height);
|
||||
}
|
||||
|
||||
virtual void DoMoveWindow(int x, int y, int width, int height)
|
||||
{
|
||||
wxWindow::DoMoveWindow(x, y, width, height);
|
||||
}
|
||||
|
||||
// no size hints
|
||||
virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH),
|
||||
int WXUNUSED(maxW), int WXUNUSED(maxH),
|
||||
|
@@ -26,6 +26,7 @@
|
||||
*wxDataViewListCtrl*ClearColumns*;
|
||||
*wxDataViewListStore*ClearColumns*;
|
||||
*wxInfoBarGeneric*SetForegroundColour*;
|
||||
*wxTDIChildFrame*DoMoveWindow*;
|
||||
};
|
||||
|
||||
# symbols available since the beginning of this branch are only given
|
||||
|
Reference in New Issue
Block a user