[wx-dev] pImpl file layout
Stefan Csomor
csomor at advancedconcepts.ch
Tue Jun 24 04:38:37 PDT 2008
Hi Vadim
On 24.06.08 13:12, "Vadim Zeitlin" <vadim at wxwidgets.org> wrote:
> On Tue, 24 Jun 2008 08:37:33 +0200 Stefan Csomor <csomor at advancedconcepts.ch>
> wrote:
>
> SC> > BTW, I wonder if your changes are very Mac-specific or could be applied
> at
> SC> > wxWindowBase level too (maybe not now but later)?
> SC>
> SC> they might be, if we'd go the pImpl route, for other ports as well, there
> SC> still are quite a few 'common peculiarities' to all mac ports, but of
> course
> SC> the can be bracketed out again.
>
> So maybe in the future we'd have:
>
> src/common/window_cmn.cpp
> src/port/window.cpp // implementation for "port"
> src/osx/window_osx.cpp
> src/osx/whatever/window.cpp // implementation for OS X toolkit
>
> This looks quite acceptable to me.
ok, fine, as soon as I've got wx-universal working on osx_cocoa I'll commit
that state so that I don't get too much of a delta between trunk and my
sandbox
Thanks,
Steafn
More information about the wx-dev
mailing list