Added wxBORDER_THEME, wxWindow::GetDefaultBorderForControl(), wxWindow::CanApplyThemeBorder().
wxTextCtrl and wxSearchCtrl now get the correct border on wxMSW, and the wxRichTextCtrl sample also now demonstrates correct borders. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1406,7 +1406,8 @@ enum wxBorder
|
||||
wxBORDER_SIMPLE = 0x02000000,
|
||||
wxBORDER_RAISED = 0x04000000,
|
||||
wxBORDER_SUNKEN = 0x08000000,
|
||||
wxBORDER_DOUBLE = 0x10000000,
|
||||
wxBORDER_DOUBLE = 0x10000000, /* deprecated */
|
||||
wxBORDER_THEME = 0x10000000,
|
||||
|
||||
/* a mask to extract border style from the combination of flags */
|
||||
wxBORDER_MASK = 0x1f200000
|
||||
|
Reference in New Issue
Block a user