many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -74,7 +74,7 @@ bool wxOwnerDrawn::OnMeasureItem(size_t *pwidth, size_t *pheight)
|
||||
delete [] szStripped;
|
||||
|
||||
// # without this menu items look too tightly packed (at least under Windows)
|
||||
str += _T('W'); // 'W' is typically the widest letter
|
||||
str += T('W'); // 'W' is typically the widest letter
|
||||
|
||||
dc.GetTextExtent(str, (long *)pwidth, (long *)pheight);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user