X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d13e301166d3632843335592eb51004c2f2b8b3..fcd209b6a20b41e7ddf9acf837311ac6779ea41f:/interface/wx/toolbar.h diff --git a/interface/wx/toolbar.h b/interface/wx/toolbar.h index 0d36ef377f..a7ccb783a7 100644 --- a/interface/wx/toolbar.h +++ b/interface/wx/toolbar.h @@ -36,12 +36,12 @@ bitmaps will inadvertently be mapped to system colours. To do this, set the msw.remap system option before creating the toolbar: @code - wxSystemOptions::SetOption(wxT("msw.remap"), 0); + wxSystemOptions::SetOption("msw.remap", 0); @endcode If you wish to use 32-bit images (which include an alpha channel for transparency) use: @code - wxSystemOptions::SetOption(wxT("msw.remap"), 2); + wxSystemOptions::SetOption("msw.remap", 2); @endcode Then colour remapping is switched off, and a transparent background used. But only use this option under Windows XP with true colour: @@ -160,7 +160,7 @@ public: wxToolBar(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxTB_HORIZONTAL | wxBORDER_NONE, + long style = wxTB_HORIZONTAL, const wxString& name = wxToolBarNameStr); /**