- int xscreen = DefaultScreen(xdisplay);
- static int use_xft = -1;
- if (use_xft == -1)
- {
- wxString val = wxGetenv( L"GDK_USE_XFT" );
- use_xft = (val == L"1");
- }
+ int xscreen = DefaultScreen(dpy);
+ static int use_xft = -1;
+ if (use_xft == -1)
+ {
+ wxString val = wxGetenv( L"GDK_USE_XFT" );
+ use_xft = val == L"1";
+ }