Put old wxDC methods using long instead of wxCoord
into WXWIN_COMP_2_8 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -607,6 +607,7 @@ public:
|
|||||||
// misc old functions
|
// misc old functions
|
||||||
// ------------------
|
// ------------------
|
||||||
|
|
||||||
|
#if WXWIN_COMPATIBILITY_2_8
|
||||||
// for compatibility with the old code when wxCoord was long everywhere
|
// for compatibility with the old code when wxCoord was long everywhere
|
||||||
void GetTextExtent(const wxString& string,
|
void GetTextExtent(const wxString& string,
|
||||||
long *x, long *y,
|
long *x, long *y,
|
||||||
@@ -656,6 +657,7 @@ public:
|
|||||||
if (w) *w = ww;
|
if (w) *w = ww;
|
||||||
if (h) *h = hh;
|
if (h) *h = hh;
|
||||||
}
|
}
|
||||||
|
#endif // WXWIN_COMPATIBILITY_2_8
|
||||||
|
|
||||||
// RTL related functions
|
// RTL related functions
|
||||||
// ---------------------
|
// ---------------------
|
||||||
|
Reference in New Issue
Block a user