All (GUI):
-- wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
-
-- wxGridCellAttrProvider class API changed, you will need to update your code
- if you derived any classes from it
-
- the event type constants are not constants any more but are dynamically
allocated during run-time which means that they can't be used as case labels
in the switch()es, you must rewrite them to use if()s instead
but this is strongly discouraged, please consider changing your codei
instead!
+- wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
+ have changed (to fix some unfortunate clashes), please check your code to
+ ensure that no tests for wxYES or wxNO are broken: for example, the following
+ will *NOT* work any longer:
+
+ if ( flags & wxYES_NO )
+ ... do something ...
+ if ( flags & wxYES )
+ ... do something else ...
+
+- wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
+
+- wxGridCellAttrProvider class API changed, you will need to update your code
+ if you derived any classes from it
+
wxMSW:
- build system changed: setup.h is not a static file in include/wx any more
// always show an entire number of rows
#define wxLB_INT_HEIGHT 0x0800
-// use wxHSCROLL to not wrap text at all, wxTE_LINEWRAP to wrap it at any
-// position and wxTE_WORDWRAP to wrap at words boundary
-#define wxTE_DONTWRAP wxHSCROLL
-#define wxTE_LINEWRAP 0x0800
-#define wxTE_WORDWRAP 0x0000 // it's just == !wxHSCROLL
-
// deprecated synonyms
-#define wxPROCESS_ENTER wxTE_PROCESS_ENTER
-#define wxPASSWORD wxTE_PASSWORD
+#define wxPROCESS_ENTER 0x0400 // wxTE_PROCESS_ENTER
+#define wxPASSWORD 0x0800 // wxTE_PASSWORD
/*
* wxComboBox style flags
*/
// wxCENTRE already defined as 0x00000001
+#define wxYES 0x00000002
#define wxOK 0x00000004
-#define wxYES_NO 0x00000008
+#define wxNO 0x00000008
+#define wxYES_NO (wxYES | wxNO)
#define wxCANCEL 0x00000010
-#define wxYES 0x00000020
-#define wxNO 0x00000040
+
+#define wxYES_DEFAULT 0x00000000 // has no effect (default)
#define wxNO_DEFAULT 0x00000080
-#define wxYES_DEFAULT 0x00000000 // has no effect
#define wxICON_EXCLAMATION 0x00000100
#define wxICON_HAND 0x00000200