1. wxMSW seems to work (please test and send your bug reports!)
2. accelerators in the menus a la GTK (actually slightly better) implemented 3. wxSplitter now uses events (and so the code which was broken by recent changes works again) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
// static data
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
int wxWindowBase::ms_lastControlId = -2;
|
||||
int wxWindowBase::ms_lastControlId = -200;
|
||||
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxWindowBase, wxEvtHandler)
|
||||
|
||||
@@ -309,6 +309,14 @@ void wxWindowBase::Fit()
|
||||
while ( node )
|
||||
{
|
||||
wxWindow *win = node->GetData();
|
||||
if ( win->IsKindOf(CLASSINFO(wxFrame)) ||
|
||||
win->IsKindOf(CLASSINFO(wxDialog)) )
|
||||
{
|
||||
// dialogs and frames line in different top level windows - don't
|
||||
// deal with them here
|
||||
continue;
|
||||
}
|
||||
|
||||
int wx, wy, ww, wh;
|
||||
win->GetPosition(&wx, &wy);
|
||||
win->GetSize(&ww, &wh);
|
||||
|
Reference in New Issue
Block a user