]> git.saurik.com Git - wxWidgets.git/commit
Recognize old wx{CHB,LB}_XXX styles in XRC.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Sep 2009 20:10:54 +0000 (20:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Sep 2009 20:10:54 +0000 (20:10 +0000)
commit8a72770aa682c6b4ea8efa7f5d4ed5e5fa1bcfa6
tree3af182aa3cd57c4cd2fc508d9919710568c34809
parent44c2703fbf07a5685d1959f3f72d3ccf91a7f5db
Recognize old wx{CHB,LB}_XXX styles in XRC.

Situation with wxBK_XXX vs wxXXB_XXX remains confusing, the comments in the
code suggest that the former is preferred but the latter are documented for
wxListbook and wxChoicebook (although they don't even exist for wxTreebook).
So it seems unwise to not recognize the wxXXB_XXX versions in XRC as people
could easily decide to use them instead of wxBK_XXX values -- and this is also
consisten with wxNotebookXmlHandler which does recognize both wxBK_XXX and
wxNB_XXX already.

Change wxListbookXmlHandler and wxChoicebookXmlHandler to also always
recognize these styles.

Closes #10725.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/xrc/xh_choicbk.cpp
src/xrc/xh_listbk.cpp