Normalize property label editor margins on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1691,6 +1691,13 @@ wxWindow* wxPropertyGrid::GenerateEditorTextCtrl( const wxPoint& pos,
|
|||||||
{
|
{
|
||||||
tc->SetBackgroundColour(m_colSelBack);
|
tc->SetBackgroundColour(m_colSelBack);
|
||||||
tc->SetForegroundColour(m_colSelFore);
|
tc->SetForegroundColour(m_colSelFore);
|
||||||
|
|
||||||
|
// Normalize margins
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
::SendMessage(GetHwndOf(tc), EM_SETMARGINS,
|
||||||
|
EC_LEFTMARGIN | EC_RIGHTMARGIN,
|
||||||
|
MAKELONG(3, 0));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
Reference in New Issue
Block a user