X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ed460c2e7802793d591c84f3cfdbff159c5549..8b53e5a2261d192bce49d40f0019f52f73b1557a:/src/motif/notebook.cpp diff --git a/src/motif/notebook.cpp b/src/motif/notebook.cpp index ae9e5c7252..4523b93e05 100644 --- a/src/motif/notebook.cpp +++ b/src/motif/notebook.cpp @@ -400,11 +400,21 @@ void wxNotebook::OnIdle(wxIdleEvent& event) { static bool s_bFirstTime = TRUE; if ( s_bFirstTime ) { + /* + wxSize sz(GetSize()); + sz.x ++; + SetSize(sz); + sz.x --; + SetSize(sz); + */ + + /* wxSize sz(GetSize()); wxSizeEvent sizeEvent(sz, GetId()); sizeEvent.SetEventObject(this); GetEventHandler()->ProcessEvent(sizeEvent); Refresh(); + */ s_bFirstTime = FALSE; } event.Skip();