More Ownerdraw menu updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,6 +83,14 @@ bool wxOwnerDrawn::OnMeasureItem(
|
||||
,(long *)pWidth
|
||||
,(long *)pHeight
|
||||
);
|
||||
// DEBUG
|
||||
char zMsg[128];
|
||||
sprintf(zMsg, "GetTextExtent for %s: Width: %ld, Height: %ld", m_strName.c_str(), *pWidth, *pHeight);
|
||||
(void)wxMessageBox( "wxWindows Menu sample"
|
||||
,zMsg
|
||||
,wxICON_INFORMATION
|
||||
);
|
||||
// end DEBUG
|
||||
|
||||
//
|
||||
// JACS: items still look too tightly packed, so adding 2 pixels.
|
||||
|
||||
Reference in New Issue
Block a user