git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36329
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef __WXWINCE__
int remapValue = (-1);
#ifndef __WXWINCE__
int remapValue = (-1);
- if (wxSystemOptions::HasOption(wxT("msw.remap")))
- remapValue = wxSystemOptions::GetOptionInt(wxT("msw.remap"));
+ const wxChar *remapOptionStr = wxT("msw.remap");
+ if (wxSystemOptions::HasOption( remapOptionStr ))
+ remapValue = wxSystemOptions::GetOptionInt( remapOptionStr );
doTransparent = (remapValue == 2);
if (!doTransparent)
doTransparent = (remapValue == 2);
if (!doTransparent)
wx_truncate_cast(wxCoord, nTools),
totalBitmapHeight = m_defaultHeight;
wx_truncate_cast(wxCoord, nTools),
totalBitmapHeight = m_defaultHeight;
- // Create a bitmap and copy all the tool bitmaps to it
+ // Create a bitmap and copy all the tool bitmaps into it
wxMemoryDC dcAllButtons;
wxBitmap bitmap(totalBitmapWidth, totalBitmapHeight);
dcAllButtons.SelectObject(bitmap);
wxMemoryDC dcAllButtons;
wxBitmap bitmap(totalBitmapWidth, totalBitmapHeight);
dcAllButtons.SelectObject(bitmap);