Committing in .
wxX11 for OpenVMS (phase 3)
-minimal.exe for OpenVMS now builds and displays a window but crashes when
trying to use the menus.
Modified Files:
wxWidgets/descrip.mms wxWidgets/include/wx/vms_x_fix.h
wxWidgets/lib/VMS_X11_UNIV.OPT
wxWidgets/samples/minimal/descrip.mms
wxWidgets/src/univ/descrip.mms wxWidgets/src/x11/app.cpp
wxWidgets/src/x11/descrip.mms wxWidgets/src/x11/font.cpp
wxWidgets/src/x11/gsockx11.cpp wxWidgets/src/x11/utilsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -770,6 +770,7 @@ bool wxFont::IsFixedWidth() const
|
||||
wxCHECK_MSG( Ok(), FALSE, wxT("invalid font") );
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
return wxFontBase::IsFixedWidth();
|
||||
#else
|
||||
// Robert, is this right? HasNativeFont doesn't exist.
|
||||
if ( TRUE )
|
||||
@@ -781,9 +782,10 @@ bool wxFont::IsFixedWidth() const
|
||||
|
||||
return spacing.Upper() == _T('M');
|
||||
}
|
||||
// Unreaceable code for now
|
||||
// return wxFontBase::IsFixedWidth();
|
||||
#endif
|
||||
|
||||
return wxFontBase::IsFixedWidth();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user