really was before.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37287
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (m_needsRealizing)
{
GetToolBar()->SetToolBitmapSize(m_maxBitmapSize);
-
+
+ int remap = wxSystemOptions::GetOptionInt(wxT("msw.remap"));
wxSystemOptions::SetOption(wxT("msw.remap"), 0);
GetToolBar()->Realize();
- wxSystemOptions::SetOption(wxT("msw.remap"), 1);
+ wxSystemOptions::SetOption(wxT("msw.remap"), remap);
}
m_needsRealizing = false;