]> git.saurik.com Git - wxWidgets.git/commitdiff
Added wxICON_NONE to wxICON_MASK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:53:48 +0000 (22:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:53:48 +0000 (22:53 +0000)
Absence of icon is also an icon flag.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 708b4b9aa722386a70bda1764f5b96b3416fbc34..fd5449895bd3cc960a2a1bb42b54e585785fb997 100644 (file)
@@ -1825,7 +1825,6 @@ enum wxBorder
 #define wxICON_INFORMATION      0x00000800
 #define wxICON_STOP             wxICON_HAND
 #define wxICON_ASTERISK         wxICON_INFORMATION
-#define wxICON_MASK             (wxICON_EXCLAMATION|wxICON_HAND|wxICON_QUESTION|wxICON_INFORMATION)
 
 #define  wxFORWARD              0x00001000
 #define  wxBACKWARD             0x00002000
@@ -1835,6 +1834,9 @@ enum wxBorder
 #define  wxSETUP                0x00020000
 #define wxICON_NONE             0x00040000
 
+#define wxICON_MASK \
+    (wxICON_EXCLAMATION|wxICON_HAND|wxICON_QUESTION|wxICON_INFORMATION|wxICON_NONE)
+
 /*
  * Background styles. See wxWindow::SetBackgroundStyle
  */