X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..ab0c98223ac58f973be12b08065da0e2c008530c:/docs/tech/tn0008.htm diff --git a/docs/tech/tn0008.htm b/docs/tech/tn0008.htm index 3f267dba0f..196d5bfcbc 100644 --- a/docs/tech/tn0008.htm +++ b/docs/tech/tn0008.htm @@ -1,7 +1,7 @@ -How to learn wxWindows programming +How to learn wxWidgets programming @@ -14,7 +14,7 @@ -How to learn wxWindows programming +How to learn wxWidgets programming @@ -23,21 +23,21 @@ How to learn wxWindows programming

The following is a response by Edward Ream to a common question, -"What's the best way to learn wxWindows [and C++]?".

+"What's the best way to learn wxWidgets [and C++]?".

Date: Sun, 04 Jun 2000 14:37:06 -0500
From: "Edward K. Ream"
-To: wx-users@wxwindows.org
+To: wx-users@wxwidgets.org
Subject: Re: [wx-users] How to learn using wx-windows
-Reply-To: wx-users@wxwindows.org

+Reply-To: wx-users@wxwidgets.org

> Reading the Linux Journal article on wxpython, and having used wxclips
-> I got interested in wxwindows as a development interface. However, the
+> I got interested in wxwidgets as a development interface. However, the
> programming experience I got is old, and from a former generation (For-
> tran). I'd like to refresh my experience and start in C++. Will
> wx-windows be a very high step to take?

-I'm new to wxWindows myself, but I'd like to answer this question +I'm new to wxWidgets myself, but I'd like to answer this question anyway. In the past two years I've learned two similar frameworks (Apple's Yellow Box, aka NextStep/OpenStep and Borland's C++ Builder/Delphi) and last year I became a C++ enthusiast after 20 years @@ -47,7 +47,7 @@ of using C.

The major Aha for me was that the complexity of C++ doesn't matter in practice. What _does_ matter is that C++ allows you to do simple things -simply, more simply than C. With a system like wxWindows you will be +simply, more simply than C. With a system like wxWidgets you will be creating objects and then using those objects to call methods. So don't be afraid of C++: you'll only be using the easy tip of the iceberg.

@@ -61,7 +61,7 @@ Lippman's book is the cure.

About applications frameworks.

-Application frameworks such as wxWindows are organized around a set of +Application frameworks such as wxWidgets are organized around a set of cooperating classes. Take a look at the main application class, wxApp, some frame and panel classes, graphics classes, menu classes, control classes, etc. In general, to do anything in a framework involves @@ -117,7 +117,7 @@ and then calling methods using those objects.

Learn as much as you can about the String class; after using a good String class you'll never want to use C's string functions again. -wxWindows contains other nifty utility classes as well.

+wxWidgets contains other nifty utility classes as well.

The application class, wxApp, contains the main event loop. Learn about event handling and event tables (reading sample code will help). Almost @@ -127,8 +127,8 @@ events. Having the event loop written for you is a major, major benefit.

I hope this helps. Perhaps we can work together in learning about -wxWindows. Please feel free to ask me any questions you might have. If -I've made any blunders in this posting I hope the wxWindows experts will +wxWidgets. Please feel free to ask me any questions you might have. If +I've made any blunders in this posting I hope the wxWidgets experts will correct me gently.

Edward