]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/button.cpp
don't crash when invalid colour is set as fg/bg colour
[wxWidgets.git] / samples / widgets / button.cpp
index da3ed2cc91b4f37849857e3762588567f8ca9bdd..eee43761952a1ed2de4ddc3c248e9000e35c6e23 100644 (file)
@@ -26,6 +26,7 @@
 
 // for all others, include the necessary headers
 #ifndef WX_PRECOMP
 
 // for all others, include the necessary headers
 #ifndef WX_PRECOMP
+    #include "wx/app.h"
     #include "wx/log.h"
 
     #include "wx/button.h"
     #include "wx/log.h"
 
     #include "wx/button.h"