
Old fashioned font names can be used with this define. GTK2OLDENUMFONTFAMILIES - As of lazarus 0.9.31 r35400 TGtk2WidgetSet.EnumFontFamiliesEx() does not use raw X11 fonts naming, but pango via fontconfig.
G_main_context's poll function to make g_main_context_wakeup accurate.From glib2 >= 2.24 g_main_context_wakeup is enough, butįor smaller versions we need to check if new message arrived (from another thread), and interrupt main_context_iteration.įor those who want to use deprecated gtk_main_* there's USE_GTK_MAIN_OLD_ITERATION. This define fixes sending/receiving messages via PostMessage() from other threads than main.Also, we hook
USE_GTK_MAIN_OLD_ITERATION - As of lazarus 0.9.29 r27896 we use g_main_context* instead of g_main* which is deprecated from gtk2-2.2. diff in capturing before old & new code) if some bug is filled against gtk2 capturing. It's used only for debugging purposes (eg. GTK2_USE_OLD_CAPTURE - As of lazarus 0.9.29 r27638 we use new way of capturing (TGtk2WidgetSet.SetCapture). It will spot mem leaks and double frees with stacktraces. TraceGDICalls - This activates saving information on every creation or destruction of gdi objects (pen, brush, font. DebugLCLComponents - This activates saving information on every creation or destruction of LCL components, device contexts, gdi objects (pen, brush, font. LCLGTK3 - Set when you choose the GTK3 widget set.
LCLGTK2 - Set when you choose the GTK2 widget set. #FREE PASCAL CONSTANTS WINDOWS#
Useful in desktop windows to trace bugs which are reproducible in the desktop too.
VerboseWinCE - Turns on the use of writelns to output debug information. The win32 interface gives string in ansi encoding to the LCL (instead of UTF8). DisableWindowsUnicodeSupport - Turns off Unicode support on Windows. Useful to read to make widget set specific decisions at compile time. You would not normally set one of these, they are set for you when you choose compile options in Lazarus. Useful to read to make platform specific decisions at compile time. LCL thinks of its versions in that seven digit number: