Where did wxGenericFileDialog go in wxGTK 2.9.4?

16 views
Skip to first unread message

Carl Godkin

unread,
May 21, 2013, 3:01:30 PM5/21/13
to wx-u...@googlegroups.com

Hi,

For various reasons, we prefer the generic file dialog with wxGTK instead of the native GTK file dialog.

However, it doesn't appear to be included in the core library in wx 2.9.4 as it was in wx 2.8.12.  I see that even the "dialogs" sample links the source file src/generic/filedlgg.o in explicitly rather than through the library.

I can't find a discussion of this in the mailing list archives and was wondering whether I'm just confused, or if not, why this was changed.

Is there a way to get configure to build src/generic/filedlgg.cpp into the core library, or should I just do what the dialogs sample does?

Thanks,

carl

Vadim Zeitlin

unread,
May 22, 2013, 9:56:21 AM5/22/13
to wx-u...@googlegroups.com
On Tue, 21 May 2013 12:01:30 -0700 Carl Godkin wrote:

CG> For various reasons, we prefer the generic file dialog with wxGTK instead
CG> of the native GTK file dialog.

This is, of course, up to you but IMO the file dialogs are the part of your
application which really should be native. Not only it's very jarring to
have something different from what you're used to appear when you select an
operation as common as "Open file", but the native dialogs often have extra
functionality which is not supported by the generic dialog and your users
probably won't be happy to be left without it.

CG> However, it doesn't appear to be included in the core library in wx 2.9.4
CG> as it was in wx 2.8.12. I see that even the "dialogs" sample links the
CG> source file src/generic/filedlgg.o in explicitly rather than through the
CG> library.
CG>
CG> I can't find a discussion of this in the mailing list archives and was
CG> wondering whether I'm just confused, or if not, why this was changed.

To be honest, I don't remember the reasons for doing this neither, but
then it was 7 years ago (see r49660 and r49662).

CG> Is there a way to get configure to build src/generic/filedlgg.cpp into the
CG> core library, or should I just do what the dialogs sample does?

I think you should do what the sample does, IMO it's not really useful to
have the generic versions of these controls in the library.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Reply all
Reply to author
Forward
0 new messages