- background colour of a wxComboBox may now be set
- fixed wxListCtrl::GetItemText/BackgroundColour()
- Esc can now be used to close menus in the dialogs (Hartmut Honisch)
-- Added no-remap system option so colourful toolbar buttons
- aren't mangled
+- Added msw.remap system option so colourful toolbar buttons
+ aren't mangled if you set it to 0
- Toolbar buttons are now centred if the bitmap size is smaller
than the specified default size
{\bf wxToolBar95:} Note that this toolbar paints tools to reflect system-wide colours.
If you use more than 16 colours in your tool bitmaps, you may wish to suppress
this behaviour, otherwise system colours in your bitmaps will inadvertently be
-mapped to system colours. To do this, set the {\tt no-remap} system option
+mapped to system colours. To do this, set the {\tt msw.remap} system option
before creating the toolbar:
\begin{verbatim}
- wxSystemOptions::SetOption(wxT("no-remap"), 1);
+ wxSystemOptions::SetOption(wxT("msw.remap"), 0);
\end{verbatim}
\wxheading{Window styles}
MemoryHDC memoryDC2;
#endif // USE_BITMAP_MASKS/!USE_BITMAP_MASKS
- if (wxSystemOptions::GetOptionInt(wxT("no-remap")) == 1)
+ if (wxSystemOptions::HasOption(wxT("msw.remap")) && wxSystemOptions::GetOptionInt(wxT("msw.remap")) == 0)
{
#if USE_BITMAP_MASKS
dcAllButtons.SelectObject(wxNullBitmap);
bitmap.SetHBITMAP(0);
#endif // USE_BITMAP_MASKS/!USE_BITMAP_MASKS
- if (!wxSystemOptions::HasOption(wxT("no-remap")) || wxSystemOptions::GetOptionInt(wxT("no-remap")) == 0)
+ if (!wxSystemOptions::HasOption(wxT("msw.remap")) || wxSystemOptions::GetOptionInt(wxT("msw.remap")) == 1)
{
// Map to system colours
hBitmap = (HBITMAP)MapBitmap((WXHBITMAP) hBitmap,