]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagjpeg.h
wxMDIChildFrame::Maximize() should have default value for its argument just as wxFram...
[wxWidgets.git] / include / wx / imagjpeg.h
index e51491e8f7559e6f13b28c0bb1597eee48b15ae7..465947e67a0a3feabbbbf7586a208a29b14db04e 100644 (file)
 #pragma interface "imagjpeg.h"
 #endif
 
 #pragma interface "imagjpeg.h"
 #endif
 
-#include "wx/image.h"
-
+#include "wx/defs.h"
 
 //-----------------------------------------------------------------------------
 // wxJPEGHandler
 //-----------------------------------------------------------------------------
 
 #if wxUSE_LIBJPEG
 
 //-----------------------------------------------------------------------------
 // wxJPEGHandler
 //-----------------------------------------------------------------------------
 
 #if wxUSE_LIBJPEG
+
+#include "wx/image.h"
+
 class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
 {
 public:
 class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
 {
 public:
@@ -42,7 +44,8 @@ public:
 private:
     DECLARE_DYNAMIC_CLASS(wxJPEGHandler)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxJPEGHandler)
 };
-#endif
+
+#endif // wxUSE_LIBJPEG
 
 #endif // _WX_IMAGJPEG_H_
 
 
 #endif // _WX_IMAGJPEG_H_