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
This commit is contained in:
@@ -7261,6 +7261,24 @@ class SearchCtrl(TextCtrl):
|
||||
"""
|
||||
return _controls_.SearchCtrl_IsCancelButtonVisible(*args, **kwargs)
|
||||
|
||||
def SetDescriptiveText(*args, **kwargs):
|
||||
"""
|
||||
SetDescriptiveText(self, String text)
|
||||
|
||||
Set the text to be displayed when the user has not yet typed anything
|
||||
in the control.
|
||||
"""
|
||||
return _controls_.SearchCtrl_SetDescriptiveText(*args, **kwargs)
|
||||
|
||||
def GetDescriptiveText(*args, **kwargs):
|
||||
"""
|
||||
GetDescriptiveText(self) -> String
|
||||
|
||||
Set the text to be displayed when the user has not yet typed anything
|
||||
in the control.
|
||||
"""
|
||||
return _controls_.SearchCtrl_GetDescriptiveText(*args, **kwargs)
|
||||
|
||||
def SetSearchBitmap(*args, **kwargs):
|
||||
"""
|
||||
SetSearchBitmap(self, Bitmap ?)
|
||||
@@ -7292,6 +7310,7 @@ class SearchCtrl(TextCtrl):
|
||||
Menu = property(GetMenu,SetMenu)
|
||||
SearchButtonVisible = property(IsSearchButtonVisible,ShowSearchButton)
|
||||
CancelButtonVisible = property(IsCancelButtonVisible,ShowCancelButton)
|
||||
DescriptiveText = property(GetDescriptiveText,SetDescriptiveText)
|
||||
_controls_.SearchCtrl_swigregister(SearchCtrl)
|
||||
SearchCtrlNameStr = cvar.SearchCtrlNameStr
|
||||
|
||||
|
Reference in New Issue
Block a user