attemps to speed up wxToolBar::MapBitmap() - failed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-31 02:41:49 +00:00
parent 251244a020
commit 566fb29935
2 changed files with 138 additions and 97 deletions

View File

@@ -66,6 +66,8 @@ public:
void OnMouseEvent(wxMouseEvent& event);
void OnSysColourChanged(wxSysColourChangedEvent& event);
static WXHBITMAP MapBitmap(WXHBITMAP bitmap, int width, int height);
protected:
// common part of all ctors
void Init();
@@ -105,13 +107,6 @@ 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