-// ----------------------------------------------------------------------------
-// global functions
-// ----------------------------------------------------------------------------
-
-// FIXME MT-UNSAFE
-static wxBitmap *GetTickBitmap()
-{
- static wxBitmap* s_tickBitmap = (wxBitmap *) NULL;
- static bool s_loaded = FALSE;
-
- if ( !s_loaded )
- {
- s_loaded = TRUE; // set it to TRUE anyhow, we won't try again
-
- #if defined(__WXMSW__) || defined(__WXPM__)
- s_tickBitmap = new wxBitmap(_T("tick_bmp"), wxBITMAP_TYPE_RESOURCE);
- #else
- s_tickBitmap = new wxBitmap( tick_xpm );
- #endif
- }
-
- return s_tickBitmap;
-}
-
-static wxBitmap *GetCrossBitmap()
-{
- static wxBitmap* s_crossBitmap = (wxBitmap *) NULL;
- static bool s_loaded = FALSE;
-
- if ( !s_loaded )
- {
- s_loaded = TRUE; // set it to TRUE anyhow, we won't try again
-
- #if defined(__WXMSW__) || defined(__WXPM__)
- s_crossBitmap = new wxBitmap(_T("cross_bmp"), wxBITMAP_TYPE_RESOURCE);
- #else // XPMs
- s_crossBitmap = new wxBitmap( cross_xpm );
- #endif // BMPs/XPMs
- }
-
- return s_crossBitmap;
-}