wx/msw/stackwalk.h \
wx/msw/winundef.h \
wx/msw/wrapcctl.h \
+ wx/msw/wrapcdlg.h \
wx/msw/wrapwin.h \
$(BASE_WINCE_HDR)
@COND_PLATFORM_WIN32_1@BASE_PLATFORM_HDR = $(COND_PLATFORM_WIN32_1_BASE_PLATFORM_HDR)
wx/msw/stackwalk.h
wx/msw/winundef.h
wx/msw/wrapcctl.h
+ wx/msw/wrapcdlg.h
wx/msw/wrapwin.h
</set>
<set var="BASE_WINCE_HDR" hints="files">
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\msw\wrapcdlg.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\msw\wrapwin.h
# End Source File
# End Group
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: wx/msw/wrapcdlg.h
+// Purpose: Wrapper for the standard <commdlg.h> header
+// Author: Wlodzimierz ABX Skiba
+// Modified by:
+// Created: 22.03.2005
+// RCS-ID: $Id$
+// Copyright: (c) 2005 Wlodzimierz Skiba
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_MSW_WRAPCDLG_H_
+#define _WX_MSW_WRAPCDLG_H_
+
+#include "wx/defs.h"
+
+#include "wx/msw/wrapwin.h"
+#include "wx/msw/private.h"
+#include "wx/msw/missing.h"
+
+#if wxUSE_COMMON_DIALOGS && !defined(__SMARTPHONE__) && !defined(__WXMICROWIN__)
+ #include <commdlg.h>
+#endif
+
+#endif // _WX_MSW_WRAPCDLG_H_
+
#endif // wxUSE_PRINTING_ARCHITECTURE
#if defined(__WXMSW__)
- #include <windowsx.h>
- #include "wx/msw/private.h"
-
- #ifndef __SMARTPHONE__ /* of WinCE */
- #include <commdlg.h>
- #endif
-
- #if defined(__WATCOMC__) || defined(__SYMANTEC__) || defined(__SALFORDC__)
- #include <windowsx.h>
- #include <commdlg.h>
- #endif
+ #include "wx/msw/wrapcdlg.h"
#endif // MSW
#if wxUSE_PRINTING_ARCHITECTURE
m_privData = NULL;
m_privDataLen = 0;
-
+
m_nativeData = wxPrintFactory::GetFactory()->CreatePrintNativeData();
}
m_nativeData->m_ref--;
if (m_nativeData->m_ref == 0)
delete m_nativeData;
-
+
if (m_privData)
delete [] m_privData;
#include <string.h>
#ifdef __WXMSW__
-#include "wx/msw/wrapwin.h"
-#include <commdlg.h>
-
-#ifndef __WIN32__
-#include <print.h>
-#endif
-
+ #include "wx/msw/wrapcdlg.h"
+ #ifndef __WIN32__
+ #include <print.h>
+ #endif
#endif
// End __WXMSW__
#endif
#ifdef __WXMSW__
- #include "wx/msw/private.h"
- #include <commdlg.h>
-
+ #include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
#include "wx/colordlg.h"
#include "wx/cmndata.h"
#include "wx/math.h"
-
-#if !defined(__WIN32__) || defined(__WXWINCE__)
- #include <commdlg.h>
-#endif
+#include "wx/msw/wrapcdlg.h"
#include <stdlib.h>
#include <string.h>
#include "wx/icon.h"
#endif
-#include "wx/msw/private.h" // needs to be before #include <commdlg.h>
-#include "wx/msw/missing.h" // needs to be before #include <commdlg.h>
-
#include "wx/sysopt.h"
#include "wx/dcprint.h"
#include "wx/module.h"
#include <string.h>
-#if wxUSE_COMMON_DIALOGS && !defined(__WXMICROWIN__)
- #include <commdlg.h>
-#endif
-
+#include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
#include "wx/msw/printdlg.h"
#include "wx/math.h"
-#if wxUSE_COMMON_DIALOGS
- #include <commdlg.h>
-#endif
-
+#include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
#include "wx/evtloop.h"
#include "wx/ptr_scpd.h"
-#if wxUSE_COMMON_DIALOGS && !defined(__WXMICROWIN__)
- #include <commdlg.h>
-#endif
+#include "wx/msw/wrapcdlg.h"
#if defined(__SMARTPHONE__) && defined(__WXWINCE__)
#include "wx/msw/wince/resources.h"
event.SetEventObject(this);
return GetEventHandler()->ProcessEvent(event);
- }
+ }
}
#endif
return new wxToolMenuBar(this, winid,
wxDefaultPosition, wxDefaultSize,
style, name);
-}
+}
#endif
// ---------------------------------------------------------------------------
#include "wx/log.h"
#endif
-#include "wx/msw/private.h"
-
-#if !defined(__WIN32__) || defined(__WXWINCE__)
- #include <commdlg.h>
-#endif
-
+#include "wx/msw/wrapcdlg.h"
#include "wx/fdrepdlg.h"
// ----------------------------------------------------------------------------
#include "wx/app.h"
#endif
-#include "wx/msw/private.h"
-
-#if !defined(__WIN32__) || defined(__WXWINCE__)
- #include <commdlg.h>
-#endif
+#include "wx/msw/wrapcdlg.h"
#include <stdlib.h>
#include <string.h>
#endif
#include "wx/fontdlg.h"
-#include "wx/msw/private.h"
-
-#if !defined(__WIN32__) || defined(__WXWINCE__)
-#include <commdlg.h>
-#endif
+#include "wx/msw/wrapcdlg.h"
#include "wx/cmndata.h"
#include "wx/log.h"
#include <stdlib.h>
-#include "wx/msw/private.h"
-
-#include <commdlg.h>
+#include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
wxString printerName = (LPTSTR)lpDevNames + lpDevNames->wDeviceOffset;
// Not sure if we should check for this mismatch
-// wxASSERT_MSG( (m_printerName == "" || (devName == m_printerName)), "Printer name obtained from DEVMODE and DEVNAMES were different!");
+// wxASSERT_MSG( (m_printerName.empty() || (devName == m_printerName)), "Printer name obtained from DEVMODE and DEVNAMES were different!");
if (!printerName.empty())
data.SetPrinterName( printerName );
#include <stdlib.h>
-#include "wx/msw/private.h"
-
-#include <commdlg.h>
-
+#include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
# End Source File
# Begin Source File
+SOURCE=..\include\wx\msw\wrapcdlg.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\msw\wrapwin.h
# End Source File
# End Group
wx/msw/stackwalk.h
wx/msw/winundef.h
wx/msw/wrapcctl.h
+wx/msw/wrapcdlg.h
wx/msw/wrapwin.h
wx/fs_inet.h
wx/gsocket.h
wx/msw/stackwalk.h
wx/msw/winundef.h
wx/msw/wrapcctl.h
+wx/msw/wrapcdlg.h
wx/msw/wrapwin.h
wx/fs_inet.h
wx/gsocket.h
wx/msw/stackwalk.h
wx/msw/winundef.h
wx/msw/wrapcctl.h
+wx/msw/wrapcdlg.h
wx/msw/wrapwin.h
wx/fs_inet.h
wx/gsocket.h