Revert "Hack wxMSW wxNotebook to show the text controls correctly initially."
This hack resulted in showing a black rectangle corresponding to the initial size of the first notebook page when creating the notebook, as could be seen in the notebook sample by pressing Alt+2,Alt+1 to recreate the notebook after the startup. If the bug that this hack was supposed to fix hasn't been fixed yet (and it might have been by r73126, but it's hard to be sure as we don't have any test case for that bug), we could reintroduce this call to Update() but only if we're not inside a deferred resize (i.e. m_hDWP != 0) as it just can't work correctly in this case. This reverts r69793. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,9 +193,6 @@ protected:
|
||||
|
||||
// true if we have already subclassed our updown control
|
||||
bool m_hasSubclassedUpdown;
|
||||
|
||||
// true if we already refreshed the current page after showing the window
|
||||
bool m_doneUpdateHack;
|
||||
#endif // __WXWINCE__
|
||||
|
||||
#if wxUSE_UXTHEME
|
||||
|
Reference in New Issue
Block a user