limit TLW size to display size in wxSizer::Fit() instead of doing it in wxTLW::GetMaxSize(), this allows creating or manually resizing TLWs to be larger than the display while still avoiding making them too big by default

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-23 17:50:52 +00:00
parent 79d3dfac2f
commit 98018a4b05
4 changed files with 32 additions and 46 deletions

View File

@@ -233,7 +233,6 @@ public:
virtual bool Destroy();
virtual bool IsTopLevel() const { return true; }
virtual bool IsVisible() const { return IsShown(); }
virtual wxSize GetMaxSize() const;
// event handlers
void OnCloseWindow(wxCloseEvent& event);