X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e676441ff41b4d80cc1587691a359165b518fbc4..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/tguide.tex diff --git a/docs/latex/wx/tguide.tex b/docs/latex/wx/tguide.tex index 383dd1da0b..c78f52a345 100644 --- a/docs/latex/wx/tguide.tex +++ b/docs/latex/wx/tguide.tex @@ -1,6 +1,6 @@ -\section{Writing a wxWindows application: a rough guide}\label{roughguide} +\section{Writing a wxWidgets application: a rough guide}\label{roughguide} -To set a wxWindows application going, you will need to derive a \helpref{wxApp}{wxapp} class and +To set a wxWidgets application going, you will need to derive a \helpref{wxApp}{wxapp} class and override \helpref{wxApp::OnInit}{wxapponinit}. An application must have a top-level \helpref{wxFrame}{wxframe} or \helpref{wxDialog}{wxdialog} window. @@ -34,15 +34,15 @@ brushes (\helpref{wxBrush}{wxbrush}) and pens (\helpref{wxPen}{wxpen}). To intercept events, you add a DECLARE\_EVENT\_TABLE macro to the window class declaration, and put a BEGIN\_EVENT\_TABLE ... END\_EVENT\_TABLE block in the implementation file. Between these macros, you add event macros which map the event (such as a mouse click) to a member function. -These might override predefined event handlers such as \helpref{wxWindow::OnChar}{wxwindowonchar} and -\rtfsp\helpref{wxWindow::OnMouseEvent}{wxwindowonmouseevent}. +These might override predefined event handlers such as for \helpref{wxKeyEvent}{wxkeyevent} and +\rtfsp\helpref{wxMouseEvent}{wxmouseevent}. Most modern applications will have an on-line, hypertext help system; for this, you need wxHelp and the \helpref{wxHelpController}{wxhelpcontroller} class to control wxHelp. GUI applications aren't all graphical wizardry. List and hash table needs are -catered for by \helpref{wxList}{wxlist}, \helpref{wxStringList}{wxstringlist} and \helpref{wxHashMap}{wxhashmap}. +catered for by \helpref{wxList}{wxlist} and \helpref{wxHashMap}{wxhashmap}. You will undoubtedly need some platform-independent \helpref{file functions}{filefunctions}, and you may find it handy to maintain and search a list of paths using \helpref{wxPathList}{wxpathlist}. There's a \helpref{miscellany}{miscellany} of operating system and other functions.