#if wxUSE_THREADS
# define DEBUG_MAIN_THREAD \
wxASSERT_MSG( !g_mainThreadLocked || !wxThread::IsMain(), \
- "GUI reentrancy detected" )
+ "GUI reentrancy detected" );
#else
# define DEBUG_MAIN_THREAD
#endif
return gdk_string_width( gfont, "g" );
}
-void wxWindowGTK::GetTextExtent( const wxString& string,
- int *x,
- int *y,
- int *descent,
- int *externalLeading,
- const wxFont *theFont ) const
+void wxWindowGTK::DoGetTextExtent(const wxString& string,
+ int *x,
+ int *y,
+ int *descent,
+ int *externalLeading,
+ const wxFont *theFont) const
{
wxFont fontToUse = theFont ? *theFont : GetFont();