Fixed wxToolBar colour mapping problem (I hope)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-01-22 11:55:47 +00:00
parent 039df3032c
commit 5e68f8f373
2 changed files with 124 additions and 68 deletions

View File

@@ -102,6 +102,13 @@ protected:
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxToolBar)
static bool sm_coloursInit; // Have we initialized the colour table yet?
static long sm_stdColours[6]; // The RGB values of the standard 6 colours
public:
void MapBitmap(WXHBITMAP bitmap, int width, int height);
};
#endif // wxUSE_TOOLBAR