Fix several build errors in WXQT
Move declaration of wxOwnerDrawnBase::ms_defaultMargin to correct file. Do not include headers when wxUSE_UIACTIONSIMULATOR is disabled. Add guards for wxUSE_DRAG_AND_DROP. Use a different wxFont constructor in printing sample, which is also available in WXQT.
This commit is contained in:
@@ -106,7 +106,7 @@ bool MyApp::OnInit(void)
|
||||
m_bitmap = image;
|
||||
#endif
|
||||
m_angle = 30;
|
||||
m_testFont.Create(10, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL);
|
||||
m_testFont = wxFontInfo(10).Family(wxFONTFAMILY_SWISS);
|
||||
|
||||
|
||||
// Create the main frame window
|
||||
|
Reference in New Issue
Block a user