]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
switched back to old use of DrawBitmap for transparent bitmaps
[wxWidgets.git] / src / msw / dialup.cpp
index f33fcde10a926c01e8fd1ee1969b1a3648e8ad26..c23defa8395674cf35c99f0ebab828fbecdc7567 100644 (file)
     #include "wx/event.h"
 #endif
 
-#ifndef wxUSE_DYNLIB_CLASS
-#error You need wxUSE_DYNLIB_CLASS to be 1 to compile dialup.cpp.
+#include "wx/msw/private.h"  // must be before #include "dynlib.h"
+
+#if !wxUSE_DYNLIB_CLASS
+    #error You need wxUSE_DYNLIB_CLASS to be 1 to compile dialup.cpp.
 #endif
 
 #include "wx/dynlib.h"
@@ -54,8 +56,6 @@
 
 #include <wininet.h>
 
-#include "wx/msw/private.h"
-
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------