Made gnome printing stuff return wxPRINT_CANCELLED if
it has been canceled. Moved the FORCE_LINK code from app.cpp to the sample as I cannot find the right place for it. We'd need an empty extrya file for ADV lib only for that. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -795,7 +795,7 @@ wxDC* wxGnomePrinter::PrintDialog( wxWindow *parent )
|
||||
int ret = dialog.ShowModal();
|
||||
if (ret == wxID_CANCEL)
|
||||
{
|
||||
sm_lastError = wxPRINTER_ERROR;
|
||||
sm_lastError = wxPRINTER_CANCELLED;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user