]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
suppress annoying beeps when enter is pressed in combobox and there is no default...
[wxWidgets.git] / src / msw / dcprint.cpp
index 91e48e9c5e11bbcf1d24a811c5797f1c36a19d96..8636a4447cc6610dd5f94999428a0f41c8568adc 100644 (file)
@@ -46,7 +46,7 @@
 #include "wx/dcprint.h"
 #include "wx/printdlg.h"
 #include "wx/msw/printdlg.h"
 #include "wx/dcprint.h"
 #include "wx/printdlg.h"
 #include "wx/msw/printdlg.h"
-#include "math.h"
+#include "wx/math.h"
 
 #if wxUSE_COMMON_DIALOGS
     #include <commdlg.h>
 
 #if wxUSE_COMMON_DIALOGS
     #include <commdlg.h>
@@ -182,7 +182,7 @@ bool wxPrinterDC::StartDoc(const wxString& message)
 
     wxString filename(m_printData.GetFilename());
 
 
     wxString filename(m_printData.GetFilename());
 
-    if (filename.IsEmpty())
+    if (filename.empty())
         docinfo.lpszOutput = NULL;
     else
         docinfo.lpszOutput = (const wxChar *) filename;
         docinfo.lpszOutput = NULL;
     else
         docinfo.lpszOutput = (const wxChar *) filename;