Added more compat. functions for wxGrid so grid sample compiles;
fixed regtest compilation prob. (but still crashes on exit); fixed tab sample compile problem. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -240,7 +240,7 @@ void MyFrame::OnSize(wxSizeEvent& event)
|
||||
|
||||
m_view->SetViewRect(rect);
|
||||
|
||||
m_view->Layout();
|
||||
m_view->LayoutTabs();
|
||||
|
||||
// Need to do it a 2nd time to get the tab height with
|
||||
// the new view width
|
||||
@@ -252,7 +252,7 @@ void MyFrame::OnSize(wxSizeEvent& event)
|
||||
|
||||
m_view->SetViewRect(rect);
|
||||
|
||||
m_view->Layout();
|
||||
m_view->LayoutTabs();
|
||||
|
||||
// Move all the panels to the new view position and size
|
||||
wxNode* node = m_view->GetWindows().First();
|
||||
|
Reference in New Issue
Block a user