Added wxWakeUpIdle() to wxGTK,
Changed wxFindFile to detect hidden files (but not "." and ".." as before), Added "show hidden files" to file dialog, Added controls to wxToolBar, doc view now uses pretty file dialogs as per MSW. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1191,7 +1191,7 @@ wxDocTemplate *wxDocManager::FindTemplateForPath(const wxString& path)
|
||||
// template extension.
|
||||
|
||||
wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates,
|
||||
#ifdef __WXMSW__
|
||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
||||
int noTemplates,
|
||||
#else
|
||||
int WXUNUSED(noTemplates),
|
||||
@@ -1200,8 +1200,8 @@ wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates,
|
||||
long WXUNUSED(flags),
|
||||
bool WXUNUSED(save))
|
||||
{
|
||||
// We can only have multiple filters in Windows
|
||||
#ifdef __WXMSW__
|
||||
// We can only have multiple filters in Windows and GTK
|
||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
||||
wxString descrBuf;
|
||||
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user