From 481721e8cb9ac30cfcf39e2358813d32708a0018 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Tue, 9 Sep 2003 20:39:58 +0000 Subject: [PATCH] Applied OpenWatcom fixes from ABX. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/image/image.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/image/image.cpp b/samples/image/image.cpp index f51297399e..b5b394ba3e 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -36,8 +36,9 @@ #endif #if defined(__WXMSW__) || defined(__WXMAC__) + #ifdef wxHAVE_RAW_BITMAP #include "wx/rawbmp.h" - #define wxHAVE_RAW_BITMAP + #endif #endif // derived classes @@ -896,7 +897,7 @@ void MyFrame::OnNewFrame( wxCommandEvent &WXUNUSED(event) ) #ifdef wxHAVE_RAW_BITMAP -void MyFrame::OnTestRawBitmap( wxCommandEvent &event ) +void MyFrame::OnTestRawBitmap( wxCommandEvent &WXUNUSED(event) ) { (new MyRawBitmapFrame(this))->Show(); }