]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/imaglist.cpp
allow changing the page from keyboard in property sheet like controls even when the...
[wxWidgets.git] / src / msw / imaglist.cpp
index e8188e82ba79ad43579b837bf491c94b19762f68..d9ffadf717c40af7e26d83acb561178d6deba7d0 100644 (file)
     #include "wx/dc.h"
     #include "wx/string.h"
     #include "wx/dcmemory.h"
     #include "wx/dc.h"
     #include "wx/string.h"
     #include "wx/dcmemory.h"
-
+    #include "wx/intl.h"
+    #include "wx/log.h"
+    #include "wx/image.h"
     #include <stdio.h>
 #endif
 
     #include <stdio.h>
 #endif
 
-#include "wx/log.h"
-#include "wx/intl.h"
-#include "wx/image.h"
-
 #include "wx/msw/imaglist.h"
 #include "wx/msw/private.h"
 
 #include "wx/msw/imaglist.h"
 #include "wx/msw/private.h"
 
@@ -323,8 +321,8 @@ wxBitmap wxImageList::GetBitmap(int index) const
     bitmap = wxBitmap(image);
 #else
     wxBitmap bitmap;
     bitmap = wxBitmap(image);
 #else
     wxBitmap bitmap;
-    return bitmap;
 #endif
 #endif
+    return bitmap;
 }
 
 // Get the icon
 }
 
 // Get the icon