projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert inclusion of wx/dateevt.h for now, as it breaks linkage
[wxWidgets.git]
/
src
/
gtk
/
filedlg.cpp
diff --git
a/src/gtk/filedlg.cpp
b/src/gtk/filedlg.cpp
index 420c2e32c07999a76dcda8b20f2f3f81d7b83d5a..57a34be327cf5f7867422834974c00cca9d35e37 100644
(file)
--- a/
src/gtk/filedlg.cpp
+++ b/
src/gtk/filedlg.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: gtk/filedlg.cpp
+// Name:
src/
gtk/filedlg.cpp
// Purpose: native implementation of wxFileDialog
// Author: Robert Roebling, Zbigniew Zagorski, Mart Raudsepp
// Id: $Id$
// Purpose: native implementation of wxFileDialog
// Author: Robert Roebling, Zbigniew Zagorski, Mart Raudsepp
// Id: $Id$
@@
-7,16
+7,9
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "filedlggtk.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-// Include setup.h to get wxUSE flags for compilers that do not support precompilation of headers
-#include "wx/setup.h"
-
#if wxUSE_FILEDLG
#include "wx/filedlg.h"
#if wxUSE_FILEDLG
#include "wx/filedlg.h"
@@
-161,7
+154,7
@@
wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
if (parent)
gtk_parent = GTK_WINDOW( gtk_widget_get_toplevel(parent->m_widget) );
if (parent)
gtk_parent = GTK_WINDOW( gtk_widget_get_toplevel(parent->m_widget) );
- gchar* ok_btn_stock;
+
const
gchar* ok_btn_stock;
if ( style & wxSAVE )
{
gtk_action = GTK_FILE_CHOOSER_ACTION_SAVE;
if ( style & wxSAVE )
{
gtk_action = GTK_FILE_CHOOSER_ACTION_SAVE;