Patches from "Viktor Voroshylo" <viktor@voroshylo.com>

isses with context menu on real PocketPC device
static text not showing full message under WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-12-02 08:56:47 +00:00
parent 2943e582f2
commit 37b53d2a7b
2 changed files with 13 additions and 1 deletions

View File

@@ -192,7 +192,9 @@ wxSize wxStaticText::DoGetBestSize() const
curLine += *pc;
}
}
#ifdef __WXWINCE__
if(widthTextMax) widthTextMax += 2;
#endif
return wxSize(widthTextMax, heightTextTotal);
}