X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ed177375b27f8b80231a42638314c9809e6e945d:/contrib/samples/ogl/ogledit/ogledit.cpp diff --git a/contrib/samples/ogl/ogledit/ogledit.cpp b/contrib/samples/ogl/ogledit/ogledit.cpp index eefb4a1a02..8c0263ed09 100644 --- a/contrib/samples/ogl/ogledit/ogledit.cpp +++ b/contrib/samples/ogl/ogledit/ogledit.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: ogledit.cpp +// Name: contrib/samples/ogl/ogledit/ogledit.cpp // Purpose: OGLEdit sample app // Author: Julian Smart // Modified by: @@ -17,7 +17,7 @@ #endif #ifndef WX_PRECOMP -#include +#include "wx/wx.h" #endif #if !wxUSE_DOC_VIEW_ARCHITECTURE @@ -29,8 +29,8 @@ #include "doc.h" #include "view.h" -#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) -#include "ogl.xpm" +#ifndef __WXMSW__ + #include "ogl.xpm" #endif // A macro needed for some compilers (AIX) that need 'main' to be defined @@ -208,4 +208,3 @@ MyFrame *GetMainFrame(void) { return wxGetApp().frame; } -