wxTextEntry::SetMargins(), GetMargins() - implemented on wxMSW and wxGTK (GTK+ 2.10+); also added similar functions into wxComboCtrl, deprecated old indent-functions; wxPropertyGrid modified to use the new functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -265,4 +265,18 @@ wxString wxTextEntryBase::GetHint() const
|
||||
return m_hintData ? m_hintData->GetHintString() : wxString();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// margins support
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
bool wxTextEntryBase::DoSetMargins(const wxPoint& WXUNUSED(pt))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
wxPoint wxTextEntryBase::DoGetMargins() const
|
||||
{
|
||||
return wxPoint(-1, -1);
|
||||
}
|
||||
|
||||
#endif // wxUSE_TEXTCTRL || wxUSE_COMBOBOX
|
||||
|
||||
Reference in New Issue
Block a user