implement wxHAVE_RAW_BITMAP

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2003-05-02 12:58:00 +00:00
parent 7a311019db
commit 1e3c12d774
4 changed files with 24 additions and 4 deletions

View File

@@ -34,10 +34,8 @@
#if !defined(__WINDOWS__) || wxUSE_XPM_IN_MSW
#include "smile.xpm"
#endif
#include "wx/rawbmp.h"
#if defined(__WXMSW__)
#define wxHAVE_RAW_BITMAP
#endif
// derived classes
@@ -833,6 +831,7 @@ MyFrame::MyFrame()
wxMenu *menuImage = new wxMenu;
menuImage->Append( ID_NEW, _T("&Show any image...\tCtrl-O"));
#ifdef wxHAVE_RAW_BITMAP
menuImage->Append( ID_SHOWRAW, _T("Test &raw bitmap...\tCtrl-R"));
#endif