#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/math.h"
#endif
#define INCL_PM
#include "wx/os2/private.h"
-#include <math.h>
#include <stdlib.h>
#include <string.h>
else
lFlags = FDS_OPEN_DIALOG;
- if ((m_dialogStyle & wxHIDE_READONLY) || (m_dialogStyle & wxSAVE))
+#if WXWIN_COMPATIBILITY_2_4
+ if (m_dialogStyle & wxHIDE_READONLY)
+ lFlags |= FDS_SAVEAS_DIALOG;
+#endif
+
+ if (m_dialogStyle & wxSAVE)
lFlags |= FDS_SAVEAS_DIALOG;
if (m_dialogStyle & wxMULTIPLE )
lFlags |= FDS_OPEN_DIALOG | FDS_MULTIPLESEL;
m_fileNames.Empty();
if ((m_dialogStyle & wxMULTIPLE ) && vFileDlg.ulFQFCount > 1)
{
- for (int i = 0; i < vFileDlg.ulFQFCount; i++)
+ for (int i = 0; i < (int)vFileDlg.ulFQFCount; i++)
{
if (i == 0)
{
//
pzExtension = sFilterBuffer.c_str();
- for( int i = 0; i < sFilterBuffer.length(); i++ )
+ for( int i = 0; i < (int)sFilterBuffer.length(); i++ )
{
//
// Get extension