]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagjpeg.h
hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh...
[wxWidgets.git] / include / wx / imagjpeg.h
index e51491e8f7559e6f13b28c0bb1597eee48b15ae7..465947e67a0a3feabbbbf7586a208a29b14db04e 100644 (file)
 #pragma interface "imagjpeg.h"
 #endif
 
-#include "wx/image.h"
-
+#include "wx/defs.h"
 
 //-----------------------------------------------------------------------------
 // wxJPEGHandler
 //-----------------------------------------------------------------------------
 
 #if wxUSE_LIBJPEG
+
+#include "wx/image.h"
+
 class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
 {
 public:
@@ -42,7 +44,8 @@ public:
 private:
     DECLARE_DYNAMIC_CLASS(wxJPEGHandler)
 };
-#endif
+
+#endif // wxUSE_LIBJPEG
 
 #endif // _WX_IMAGJPEG_H_