[wx-dev] Re: Fityk GSoC project (wxFileCtrl/custom wxFileDialog)
Marcin Wojdyr
wojdyr at gmail.com
Thu May 3 15:14:46 PDT 2007
On 5/3/07, Diaa Sami <diaasami at gmail.com> wrote:
> >
> > Diaa, do you have any comments?
>
> So instead of adding a new control, the existing wxFileCtrl will be extended, adding events,
> methods, filters and the filter list control and it'll remain generic as it is.
> but notice that it won't use wxGtkFileChooserWidget under GTK, which I consider a good thing because
> it'll have the same look on all platforms.
I don't think it's a good plan. I'd prefer to have native file widget
on gtk. Nobody has suggested to abandon native implementations.
Anyway, the generic implementation is a good starting point.
IMHO the new control should consist of listctrl (i.e. of the existing
wxFileCtrl) and filter choice (say, wxFileFilterListCtrl, in analogy
to wxDirFilterListCtrl). OnSize and DoResize methods can be taken from
wxDirFilterListCtrl. I think it should be relatively easy task.
wxDevelopers: does it make sense to have a common base class for
wx{File|Dir}Ctrl?
wx{File|Dir}ListCtrl could be shared then.
--
Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr/
More information about the wx-dev
mailing list