wxMSW: Themed borders?
Robin Dunn
robin at alldunn.com
Fri Jan 26 12:05:23 PST 2007
Currently the generic wxSearchCtrl is using wxBORDER_SIMPLE to have a
single pixel border on wxMSW, but it is the default black one and
doesn't match what is typically drawn by the themed wxTextCtrl on XP so
it ends up looking out of place. Is it possible, and would it make
sense, to have a border style that emulates the default textctrl border
on each platform? Other controls tend to have this same border too so
maybe the style should be something like wxBORDER_DEFAULT_CONTROL.
Or would it make more sense to put themed border styles in the native
renderers and require the custom controls to draw the border themselves?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-dev
mailing list