: [wx-dev] wxFileCtrl and GTK+ < 2.2

Vadim Zeitlin vadim at wxwidgets.org
Mon Sep 17 06:15:53 PDT 2007


On Mon, 17 Sep 2007 12:54:57 +0200 Robert Roebling wrote:

RR> Vadim Zeitlin wrote:
RR> 
RR> > wxFileCtrl still exists but it's a controls showing everything you
RR> > need to choose a file. While wxFileList[Ctrl] is just the part showing
RR> > the file listing.
RR> 
RR> I imagine that both currently look unacceptable under OS X.

 They don't look great under MSW neither... The idea is, as usual, that
someone will implement the native versions of them later somehow.

RR> Anyways, the patch opens the problem that just like the native
RR> wxFileDialog, the code is only present in GTK 2.4 onwards. This means
RR> an app compiled with GTK+ 2.4 will not even start when only GTK+ 2.2 is
RR> present.

 This is indeed a big problem (if we aim to support GTK+ 2.2, anyhow). But
it seems it was already present with wxFileDialog or am I missing
something?

RR> This is something we generally like to avoid. It would be nice if the
RR> control could be rearranged like the wxFileDialog to degrade gracefully
RR> at run-time.

 Ah, so it's ok to reference the functions not existing in the library
provided they're not called during run-time?

 If so, yes, we really need to do the same thing for wxFileCtrl. Diaa, do
you have time to do it?

 I'd also love to have a way to do it (at least semi-)automatically but I
think we already discussed this in the past and didn't find any way to do
it...

 Regards,
VZ





More information about the wx-dev mailing list