]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/imaglist.cpp
Guard against comparing invalid iterators, which produces an assertion
[wxWidgets.git] / src / generic / imaglist.cpp
index 9a658bf2854a5759b18d0472f9060b42cf1e5f9d..2cc89ab085d97c43382166dc0ec02585af0b7fd1 100644 (file)
@@ -22,9 +22,9 @@
 
 #ifndef WX_PRECOMP
     #include "wx/dc.h"
+    #include "wx/icon.h"
 #endif
 
-#include "wx/icon.h"
 #include "wx/image.h"
 
 //-----------------------------------------------------------------------------