On Tue, 21 Nov 2017 13:16:55 +0000, Daniel James wrote:
> In article , Mel Wilson wrote:
>> wxWidgets seems to follow the Windows programming style very closely,
>> except (?) that it's designed to be called from C++.
>
>[ ... ] but I wouldn't say that
> it follows a Windows programming 'style' ... rather that both wxWidgets
> and MFC use some of the same C++ language features to provide high-level
> APIs wrapping built on top of the lower-level toolkits provided by the
> system.
What I was thinking there was that, when I encountered wxWidgets (through
wxPython) all the class names that I was using seemed very familiar from
my days writing switch-statement-from-hell C programs for Windows 3.1.
The same catch-all wx.Windows class from which almost everything else
descended, etc. I sound more disparaging than I really am. I got some
good stuff done, and most of what I knew from before adapted very easily
to wxWidgets.
My example of non-Windows style would have been Borland TurboVision, and
its descendant Object Windows Library. Breaking down the huge Window
class into View and Group made things much simpler. Too bad that style
didn't prevail.
Mel.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|