Robin Dunn
e6d0599dc7
tweak the size and layout of the cancel button a bit so it doesn't get clipped.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:44:02 +00:00
Julian Smart
a047aff270
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
2007-08-07 19:22:43 +00:00
Vadim Zeitlin
cfddeb1067
fix compilation in wxUSE_MENUS==0 case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:48:20 +00:00
Vadim Zeitlin
88c23b64c7
fix assert because of passing more than one border bit in style to the base class Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:07:58 +00:00
Robin Dunn
b5dc8fdbfd
use ChangeValue instead of SetValue to avoid bogus EVT_TEXT events
...
when just setting the descriptive text.
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:14:42 +00:00
Robin Dunn
4aab34290a
Return an empty string from GetValue if the textctrl is set to the
...
descriptive text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:47:33 +00:00
Robin Dunn
6646ca90e8
Added wxSearchCtrl::[Get|Set]DescriptiveText
...
Tweaked the layout of the subcontrols a bit
Lightened the icons to be more like Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 05:27:16 +00:00
Vadim Zeitlin
8ebf24655c
unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 13:45:08 +00:00
Robert Roebling
10eeb875ec
Made wxSearchCtrl look like other text controls under GTK+.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 22:27:01 +00:00
Robin Dunn
af1f44f17e
Also do LayoutControls from EVT_SIZE handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 00:53:52 +00:00
Robin Dunn
9b4c231467
Fix compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 21:12:32 +00:00
Kevin Ollivier
c60122bf37
Change event names to clarify that they are only fired by button clicks, and note ways of retrieving search queries in the docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:32:16 +00:00
Paul Cornett
09d93215cf
cleanup:
...
wrap everything in #if wxUSE_SEARCHCTRL,
implementation include comes first,
parenthesize macro replacement containing operators,
unused variable,
use of pointer after delete,
bizarre boolean expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 18:33:58 +00:00
Vadim Zeitlin
8bc333d76d
added $Id$ to the header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:14:07 +00:00
Vadim Zeitlin
5b43c75c1d
added wx prefix to wxUSE_NATIVE_SEARCH_CONTROL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:08:17 +00:00
Vadim Zeitlin
ec184e3242
1. Renamed Set/GetXXXVisible() to ShowXXX() and IsXXXVisible()
...
2. Moved wxSearchCtrlBase to wx/srchctrl.h to avoid duplicating it
3. Removed gcc #pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:48:18 +00:00
Chris Elliott
6f011faaf0
fix watcom problem (thanks ABX)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 09:43:39 +00:00
Chris Elliott
38f74dffc1
fix missing includessrc/generic/srchctlg.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 09:30:26 +00:00
Robin Dunn
3f7f284d55
Modified form of Patch #1611222 , adds wxSearchCtrl (generic & native carbon HISearchField)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 06:19:27 +00:00