Name change replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
=============
|
=============
|
||||||
|
|
||||||
NB: this file applies to wxBase library only. If you are using a GUI version
|
NB: this file applies to wxBase library only. If you are using a GUI version
|
||||||
of wxWindows, please refer to the documentation in the appropriate
|
of wxWidgets, please refer to the documentation in the appropriate
|
||||||
subdirectory (msw, gtk, motif &c).
|
subdirectory (msw, gtk, motif &c).
|
||||||
|
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ NB: this file applies to wxBase library only. If you are using a GUI version
|
|||||||
0. Introduction
|
0. Introduction
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
wxBase is the library providing most of the non-GUI classes of the wxWindows
|
wxBase is the library providing most of the non-GUI classes of the wxWidgets
|
||||||
cross-platform C++ framework. wxBase has some generic classes such as yet
|
cross-platform C++ framework. wxBase has some generic classes such as yet
|
||||||
another C++ string class, typesafe dynamic arrays, hashes and lists and, more
|
another C++ string class, typesafe dynamic arrays, hashes and lists and, more
|
||||||
excitingly, wxDateTime -- a very flexible and powerful class for manipulating
|
excitingly, wxDateTime -- a very flexible and powerful class for manipulating
|
||||||
@@ -87,7 +87,7 @@ compiler you use.
|
|||||||
3. Installing under Unix/BeOS
|
3. Installing under Unix/BeOS
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
NB: If you're building wxBase from the wxWindows distribution and not from a
|
NB: If you're building wxBase from the wxWidgets distribution and not from a
|
||||||
separate wxBase one you will need to add "--disable-gui" to configure
|
separate wxBase one you will need to add "--disable-gui" to configure
|
||||||
arguments below!
|
arguments below!
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ you get any errors from the native Unix make.
|
|||||||
|
|
||||||
The recommended way to build wxBase is:
|
The recommended way to build wxBase is:
|
||||||
|
|
||||||
% cd ..../wxWindows
|
% cd ..../wxWidgets
|
||||||
% mkdir base-release # or any other directory of your liking
|
% mkdir base-release # or any other directory of your liking
|
||||||
% cd base-release
|
% cd base-release
|
||||||
% ../configure
|
% ../configure
|
||||||
@@ -121,17 +121,17 @@ To build the sample then cd to samples/console and make there.
|
|||||||
wxBase classes. It doesn't do anything useful per itself but you may want to
|
wxBase classes. It doesn't do anything useful per itself but you may want to
|
||||||
look at its code to see examples of usage of the class you are interested in.
|
look at its code to see examples of usage of the class you are interested in.
|
||||||
|
|
||||||
There is no separate documentation for wxBase, please refer to wxWindows
|
There is no separate documentation for wxBase, please refer to wxWidgets
|
||||||
documentation instead.
|
documentation instead.
|
||||||
|
|
||||||
Support for wxBase is available from the same places as for wxWindows itself,
|
Support for wxBase is available from the same places as for wxWidgets itself,
|
||||||
namely:
|
namely:
|
||||||
|
|
||||||
* Usenet newsgroup comp.soft-sys.wxwindows
|
* Usenet newsgroup comp.soft-sys.wxwindows
|
||||||
|
|
||||||
* Mailing lists: see http://lists.wxwindows.org/ for more information
|
* Mailing lists: see http://lists.wxwindows.org/ for more information
|
||||||
|
|
||||||
* WWW page: http://www.wxwindows.org/
|
* WWW page: http://www.wxwidgets.org/
|
||||||
|
|
||||||
|
|
||||||
Hope you will find wxBase useful!
|
Hope you will find wxBase useful!
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
----------------------------
|
----------------------------
|
||||||
wxWindows 2.5/2.6 Change Log
|
wxWidgets 2.5/2.6 Change Log
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES SINCE 2.4.x
|
INCOMPATIBLE CHANGES SINCE 2.4.x
|
||||||
@@ -57,7 +57,7 @@ wxTaskBarIcon must be explicitly destroyed now, otherwise the application
|
|||||||
DEPRECATED METHODS SINCE 2.4.x
|
DEPRECATED METHODS SINCE 2.4.x
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
Deprecated methods may still be used but will disappear in future wxWindows
|
Deprecated methods may still be used but will disappear in future wxWidgets
|
||||||
versions, please update your code to not use them.
|
versions, please update your code to not use them.
|
||||||
|
|
||||||
- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
|
- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
|
||||||
@@ -70,7 +70,7 @@ versions, please update your code to not use them.
|
|||||||
- wxTheFontMapper: use wxFontMapper::Get() instead
|
- wxTheFontMapper: use wxFontMapper::Get() instead
|
||||||
- wxStringHashTable: use wxHashMap instead
|
- wxStringHashTable: use wxHashMap instead
|
||||||
- wxHashTableLong: use wxHashMap instead
|
- wxHashTableLong: use wxHashMap instead
|
||||||
- wxArrayString::GetStringArray: use wxCArrayString or alternative wxWindows
|
- wxArrayString::GetStringArray: use wxCArrayString or alternative wxWidgets
|
||||||
methods taking wxArrayString
|
methods taking wxArrayString
|
||||||
- wxArrayString::Remove(index, count): use RemoveAt instead
|
- wxArrayString::Remove(index, count): use RemoveAt instead
|
||||||
- wxTreeItemId conversion to long is deprecated and shouldn't be used
|
- wxTreeItemId conversion to long is deprecated and shouldn't be used
|
||||||
@@ -214,7 +214,7 @@ All (GUI):
|
|||||||
|
|
||||||
wxMSW:
|
wxMSW:
|
||||||
|
|
||||||
- wxWindows now builds under Win64
|
- wxWidgets now builds under Win64
|
||||||
- fixed DDE memory leaks
|
- fixed DDE memory leaks
|
||||||
- fixed wxTE_*WRAP styles handling
|
- fixed wxTE_*WRAP styles handling
|
||||||
- wxTextCtrl::GetValue() works with text in non default encoding
|
- wxTextCtrl::GetValue() works with text in non default encoding
|
||||||
@@ -286,7 +286,7 @@ Unix:
|
|||||||
All:
|
All:
|
||||||
|
|
||||||
- It is now possible to build several smaller libraries instead of single
|
- It is now possible to build several smaller libraries instead of single
|
||||||
huge wxWindows library; wxBase is now dependency of GUI ports rather then
|
huge wxWidgets library; wxBase is now dependency of GUI ports rather then
|
||||||
separately compiled library
|
separately compiled library
|
||||||
- added wxDateSpan::operator==() and !=() (Lukasz Michalski)
|
- added wxDateSpan::operator==() and !=() (Lukasz Michalski)
|
||||||
- added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
|
- added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
|
||||||
@@ -450,7 +450,7 @@ wxMSW:
|
|||||||
- improved border handling under Windows XP
|
- improved border handling under Windows XP
|
||||||
- partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME
|
- partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME
|
||||||
enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells
|
enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells
|
||||||
wxWindows to use the theme tab colour for control backgrounds.
|
wxWidgets to use the theme tab colour for control backgrounds.
|
||||||
- disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP
|
- disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP
|
||||||
- fixed release mode build with VC 7.x (Martin Ecker)
|
- fixed release mode build with VC 7.x (Martin Ecker)
|
||||||
- added support for wxALWAYS_SHOW_SB style
|
- added support for wxALWAYS_SHOW_SB style
|
||||||
@@ -501,7 +501,7 @@ INCOMPATIBLE CHANGES SINCE 2.2.x
|
|||||||
2.6 release.
|
2.6 release.
|
||||||
|
|
||||||
NB: if you want to build your program with different major versions
|
NB: if you want to build your program with different major versions
|
||||||
of wxWindows you will probably find the wxCHECK_VERSION() macro
|
of wxWidgets you will probably find the wxCHECK_VERSION() macro
|
||||||
(see the documentation) useful.
|
(see the documentation) useful.
|
||||||
|
|
||||||
|
|
||||||
@@ -718,10 +718,10 @@ wxBase:
|
|||||||
|
|
||||||
Unix (Base/GUI):
|
Unix (Base/GUI):
|
||||||
|
|
||||||
- wxWindows may be built using BSD and Solaris (and possibly other) make
|
- wxWidgets may be built using BSD and Solaris (and possibly other) make
|
||||||
programs and not only GNU make
|
programs and not only GNU make
|
||||||
- wxTCP-based IPC classes now support communicating over Unix domain sockets
|
- wxTCP-based IPC classes now support communicating over Unix domain sockets
|
||||||
- wxWindows may be built as a dynamic shared library under Darwin / Mac OS X
|
- wxWidgets may be built as a dynamic shared library under Darwin / Mac OS X
|
||||||
lazy linking issues have been solved by linking a single module (.o) into
|
lazy linking issues have been solved by linking a single module (.o) into
|
||||||
the shared library (two step link using distrib/mac/shared-ld-sh)
|
the shared library (two step link using distrib/mac/shared-ld-sh)
|
||||||
- fixed thread priority setting under Linux
|
- fixed thread priority setting under Linux
|
||||||
@@ -733,7 +733,7 @@ All (GUI):
|
|||||||
- implemented radio menu items and radio toolbar buttons
|
- implemented radio menu items and radio toolbar buttons
|
||||||
- added possibility to show text in the toolbar buttons
|
- added possibility to show text in the toolbar buttons
|
||||||
- added wxArtProvider class that can be used to customize the look of standard
|
- added wxArtProvider class that can be used to customize the look of standard
|
||||||
wxWindows dialogs
|
wxWidgets dialogs
|
||||||
- significantly improved native font support
|
- significantly improved native font support
|
||||||
- wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
|
- wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
|
||||||
wxHashTable
|
wxHashTable
|
||||||
@@ -774,11 +774,11 @@ wxMSW:
|
|||||||
- fixed multiple bugs in wxExecute() with IO redirection
|
- fixed multiple bugs in wxExecute() with IO redirection
|
||||||
- refresh the buttons properly when the window is resized (Hans Van Leemputten)
|
- refresh the buttons properly when the window is resized (Hans Van Leemputten)
|
||||||
- huge (40*) speed up in wxMask::Create()
|
- huge (40*) speed up in wxMask::Create()
|
||||||
- changing wxWindows styles also changes the underlying Windows window style
|
- changing wxWidgets styles also changes the underlying Windows window style
|
||||||
- wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
|
- wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
|
||||||
- fixed flicker in wxTreeCtrl::SetItemXXX()
|
- fixed flicker in wxTreeCtrl::SetItemXXX()
|
||||||
- fixed redraw problems in dynamically resized wxStaticText
|
- fixed redraw problems in dynamically resized wxStaticText
|
||||||
- improvements to wxWindows applications behaviour when the system colours
|
- improvements to wxWidgets applications behaviour when the system colours
|
||||||
are changed
|
are changed
|
||||||
- choose implicit parent for the dialog boxes better
|
- choose implicit parent for the dialog boxes better
|
||||||
- fixed wxProgressDialog for ranges > 65535
|
- fixed wxProgressDialog for ranges > 65535
|
||||||
@@ -967,7 +967,7 @@ wxMSW:
|
|||||||
- Fixed wxFrame::SetClientSize() with toolbar bug
|
- Fixed wxFrame::SetClientSize() with toolbar bug
|
||||||
- Added mousewheel processing
|
- Added mousewheel processing
|
||||||
- Added wxSystemSettings::Get/SetOption so we can configure
|
- Added wxSystemSettings::Get/SetOption so we can configure
|
||||||
wxWindows at run time; used this to implement no-maskblt option
|
wxWidgets at run time; used this to implement no-maskblt option
|
||||||
in wxDC
|
in wxDC
|
||||||
- Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
|
- Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
|
||||||
child frame styles are honoured
|
child frame styles are honoured
|
||||||
@@ -1237,7 +1237,7 @@ wxHTML:
|
|||||||
fixed handling of relative and absolute font sizes in <font size>
|
fixed handling of relative and absolute font sizes in <font size>
|
||||||
|
|
||||||
|
|
||||||
NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
|
NOTE: for changes after wxWidgets 2.1.0 b4, please see the CVS
|
||||||
change log.
|
change log.
|
||||||
|
|
||||||
2.1.0, b4, May 9th 1999
|
2.1.0, b4, May 9th 1999
|
||||||
@@ -1335,7 +1335,7 @@ wxMSW:
|
|||||||
|
|
||||||
- Makefiles for more compilers and samples; Cygwin makefiles
|
- Makefiles for more compilers and samples; Cygwin makefiles
|
||||||
rationalised.
|
rationalised.
|
||||||
- Added VC++ project file for compiling wxWindows as DLL.
|
- Added VC++ project file for compiling wxWidgets as DLL.
|
||||||
|
|
||||||
wxMotif:
|
wxMotif:
|
||||||
|
|
||||||
@@ -1663,7 +1663,7 @@ wxMSW:
|
|||||||
- Added wxJoystick class and event handling, and simple demo.
|
- Added wxJoystick class and event handling, and simple demo.
|
||||||
- Added simple wxWave class. Needs Stop() function.
|
- Added simple wxWave class. Needs Stop() function.
|
||||||
- Added wxModule (module.h/module.cpp) to allow definition
|
- Added wxModule (module.h/module.cpp) to allow definition
|
||||||
of modules to be initialized and cleaned up on wxWindows
|
of modules to be initialized and cleaned up on wxWidgets
|
||||||
startup/exit.
|
startup/exit.
|
||||||
- Start of Mingw32 compatibility (see minimal and dialogs samples
|
- Start of Mingw32 compatibility (see minimal and dialogs samples
|
||||||
makefile.m95 files, and install.txt).
|
makefile.m95 files, and install.txt).
|
||||||
@@ -1705,7 +1705,7 @@ wxMSW:
|
|||||||
- Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
|
- Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
|
||||||
to allow maintenance of an icon in the Windows 95 taskbar
|
to allow maintenance of an icon in the Windows 95 taskbar
|
||||||
tray area.
|
tray area.
|
||||||
- Got MFC sample working (MFC and wxWindows in the same
|
- Got MFC sample working (MFC and wxWidgets in the same
|
||||||
application), partly by tweaking ntwxwin.mak settings.
|
application), partly by tweaking ntwxwin.mak settings.
|
||||||
- Got DLL compilation working again (VC++).
|
- Got DLL compilation working again (VC++).
|
||||||
- Changed wxProp/Dialog Editor filenames.
|
- Changed wxProp/Dialog Editor filenames.
|
||||||
|
@@ -6,19 +6,19 @@ a GCC release with Objective-C++) will be much appreciated.
|
|||||||
|
|
||||||
For the time being, the standard configure/make method works. You will
|
For the time being, the standard configure/make method works. You will
|
||||||
want to build static because there are a number of unimplemented functions
|
want to build static because there are a number of unimplemented functions
|
||||||
that a shared library will need (becuase of wxWindows code internally using
|
that a shared library will need (becuase of wxWidgets code internally using
|
||||||
them) but that a static library will not (because most of the samples
|
them) but that a static library will not (because most of the samples
|
||||||
don't need it).
|
don't need it).
|
||||||
|
|
||||||
On my system I have the following:
|
On my system I have the following:
|
||||||
|
|
||||||
Checked out CVS source is in:
|
Checked out CVS source is in:
|
||||||
/Users/dfe/devel/wxHEADcommit/wxWindows
|
/Users/dfe/devel/wxHEADcommit/wxWidgets
|
||||||
Debug build directory is:
|
Debug build directory is:
|
||||||
/Users/dfe/devel/wxHEADcommit/BUILD_COCOAd
|
/Users/dfe/devel/wxHEADcommit/BUILD_COCOAd
|
||||||
|
|
||||||
From the debug build directory:
|
From the debug build directory:
|
||||||
$ ../wxWindows/configure --with-cocoa --enable-debug --disable-shared
|
$ ../wxWidgets/configure --with-cocoa --enable-debug --disable-shared
|
||||||
$ make
|
$ make
|
||||||
$ cd samples/minimal
|
$ cd samples/minimal
|
||||||
$ make
|
$ make
|
||||||
|
@@ -2,7 +2,7 @@ Welcome to wxCocoa
|
|||||||
|
|
||||||
wxCocoa is still very much a work in progress. At this point quite a bit
|
wxCocoa is still very much a work in progress. At this point quite a bit
|
||||||
of functionality is working, but quite a bit is left to do. wxCocoa is not
|
of functionality is working, but quite a bit is left to do. wxCocoa is not
|
||||||
yet suitable for a direct port of most wxWindows applications. Fortunately,
|
yet suitable for a direct port of most wxWidgets applications. Fortunately,
|
||||||
wxMac is available for those looking to move to Mac today.
|
wxMac is available for those looking to move to Mac today.
|
||||||
|
|
||||||
If you're still reading then I assume you're interested in helping with
|
If you're still reading then I assume you're interested in helping with
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
*** wxWindows 2.3.3 ***
|
*** wxWidgets 2.3.3 ***
|
||||||
|
|
||||||
Look at the General changes file for more encompassing on
|
Look at the General changes file for more encompassing on
|
||||||
the changes that have taken place in 2.3.3. This file has
|
the changes that have taken place in 2.3.3. This file has
|
||||||
@@ -78,13 +78,13 @@ wxStaticBox honours wxALIGN_XXX styles
|
|||||||
Reworked wxConfig class interface.
|
Reworked wxConfig class interface.
|
||||||
|
|
||||||
Reworked wxDynamicLibary class for loading classes (particularly
|
Reworked wxDynamicLibary class for loading classes (particularly
|
||||||
wxWindows classes) from dynamic libraries.
|
wxWidgets classes) from dynamic libraries.
|
||||||
|
|
||||||
Removed wxObjectStream class.
|
Removed wxObjectStream class.
|
||||||
|
|
||||||
Further improvements to wxFileName class.
|
Further improvements to wxFileName class.
|
||||||
|
|
||||||
*** wxWindows 2.3.2 ***
|
*** wxWidgets 2.3.2 ***
|
||||||
|
|
||||||
Addition of wxFileName class to handler DOS, Unix, Mac and VMS filenames
|
Addition of wxFileName class to handler DOS, Unix, Mac and VMS filenames
|
||||||
and paths in a platform independent way.
|
and paths in a platform independent way.
|
||||||
@@ -92,7 +92,7 @@ and paths in a platform independent way.
|
|||||||
Addition of a wxPopupWindow class to imitate temporary windows such
|
Addition of a wxPopupWindow class to imitate temporary windows such
|
||||||
as those used combo boxes or in tool tips.
|
as those used combo boxes or in tool tips.
|
||||||
|
|
||||||
Addition of wxToggleButton which was missing in wxWindows 2.2.
|
Addition of wxToggleButton which was missing in wxWidgets 2.2.
|
||||||
|
|
||||||
Support for virtual lists in wxListCtrl.
|
Support for virtual lists in wxListCtrl.
|
||||||
|
|
||||||
@@ -122,15 +122,15 @@ cross compilations.
|
|||||||
Improved wxSizer-based layout system for better support for dynamic
|
Improved wxSizer-based layout system for better support for dynamic
|
||||||
layout.
|
layout.
|
||||||
|
|
||||||
*** wxWindows 2.3.0 ***
|
*** wxWidgets 2.3.0 ***
|
||||||
|
|
||||||
scaling for map modes other than wxMM_TEXT works correctly (Derry Bryson)
|
scaling for map modes other than wxMM_TEXT works correctly (Derry Bryson)
|
||||||
|
|
||||||
*** wxWindows 2.2.6 ***
|
*** wxWidgets 2.2.6 ***
|
||||||
|
|
||||||
wxGauge now supports wxGA_VERTICAL (Shane Forsythe)
|
wxGauge now supports wxGA_VERTICAL (Shane Forsythe)
|
||||||
|
|
||||||
*** 29th January 2001: wxWindows 2.2.5 released ***
|
*** 29th January 2001: wxWidgets 2.2.5 released ***
|
||||||
|
|
||||||
Synchronized with wxMSW 2.2.5, include macros
|
Synchronized with wxMSW 2.2.5, include macros
|
||||||
for upwards 2.4.0 compatibility.
|
for upwards 2.4.0 compatibility.
|
||||||
@@ -140,7 +140,7 @@ Added missing wxEntry prototype to wx/gtk/app.h.
|
|||||||
Fixed compilation with --enable-no_rtti/no_exceptions
|
Fixed compilation with --enable-no_rtti/no_exceptions
|
||||||
with older egcs.
|
with older egcs.
|
||||||
|
|
||||||
*** 15th January 2001: wxWindows 2.2.4 released ***
|
*** 15th January 2001: wxWidgets 2.2.4 released ***
|
||||||
|
|
||||||
Corrected wxYield() to handle recursive calls
|
Corrected wxYield() to handle recursive calls
|
||||||
more gracefully (and with a warning in debug mode).
|
more gracefully (and with a warning in debug mode).
|
||||||
@@ -172,7 +172,7 @@ Various other fixes.
|
|||||||
|
|
||||||
Synchronized release with wxMSW again.
|
Synchronized release with wxMSW again.
|
||||||
|
|
||||||
*** 3rd November: wxWindows 2.2.3 released ***
|
*** 3rd November: wxWidgets 2.2.3 released ***
|
||||||
|
|
||||||
Fixed bugs in HTTP code.
|
Fixed bugs in HTTP code.
|
||||||
|
|
||||||
@@ -199,7 +199,7 @@ Updated AFM font metrics for Ghostscript fonts and let
|
|||||||
Linux and FreeBSD default to using GS fonts (and not
|
Linux and FreeBSD default to using GS fonts (and not
|
||||||
Adobe fonts).
|
Adobe fonts).
|
||||||
|
|
||||||
*** 20th September: wxWindows 2.2.2 released ***
|
*** 20th September: wxWidgets 2.2.2 released ***
|
||||||
|
|
||||||
Fixed wxSizer bug that made items with option
|
Fixed wxSizer bug that made items with option
|
||||||
flags greater than 1 report a wrong size.
|
flags greater than 1 report a wrong size.
|
||||||
@@ -217,7 +217,7 @@ Fixed wxListCtrl::HitTest() for report mode.
|
|||||||
|
|
||||||
Other minor fixes.
|
Other minor fixes.
|
||||||
|
|
||||||
*** 20th August 2000: wxWindows 2.2.1 released ***
|
*** 20th August 2000: wxWidgets 2.2.1 released ***
|
||||||
|
|
||||||
Minor build fixes.
|
Minor build fixes.
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ Minor correction to doc-view architecture.
|
|||||||
|
|
||||||
Minor wxCommandLineParser changes.
|
Minor wxCommandLineParser changes.
|
||||||
|
|
||||||
*** 10th July 2000: wxWindows 2.2.0 released ***
|
*** 10th July 2000: wxWidgets 2.2.0 released ***
|
||||||
|
|
||||||
Added code for writing BMP images.
|
Added code for writing BMP images.
|
||||||
|
|
||||||
@@ -281,7 +281,7 @@ Various fixes to the new wxGrid class.
|
|||||||
|
|
||||||
Bug-fixes.
|
Bug-fixes.
|
||||||
|
|
||||||
*** 4th June 2000: wxWindows pre-2.2 release ***
|
*** 4th June 2000: wxWidgets pre-2.2 release ***
|
||||||
|
|
||||||
Complete freeze now. Only vital bug-fixes allowed.
|
Complete freeze now. Only vital bug-fixes allowed.
|
||||||
|
|
||||||
@@ -293,12 +293,12 @@ Reworked wxURL.
|
|||||||
|
|
||||||
MANY bugfixes.
|
MANY bugfixes.
|
||||||
|
|
||||||
*** 22th March 2000: wxWindows 2.1.15 released ***
|
*** 22th March 2000: wxWidgets 2.1.15 released ***
|
||||||
|
|
||||||
Build fix. RPMs no longer require GTK's include files.
|
Build fix. RPMs no longer require GTK's include files.
|
||||||
|
|
||||||
An extra library for the OpenGl class now gets built
|
An extra library for the OpenGl class now gets built
|
||||||
*** 19th March 2000: wxWindows 2.1.14 released ***
|
*** 19th March 2000: wxWidgets 2.1.14 released ***
|
||||||
|
|
||||||
An extra library for the OpenGl class now gets built
|
An extra library for the OpenGl class now gets built
|
||||||
and installed. There is also an extra RPM for this
|
and installed. There is also an extra RPM for this
|
||||||
@@ -359,7 +359,7 @@ style when using the default.
|
|||||||
The L-GPL iODBC library must now be enables explicitly so as
|
The L-GPL iODBC library must now be enables explicitly so as
|
||||||
to not mislead people into reading the license wrong.
|
to not mislead people into reading the license wrong.
|
||||||
|
|
||||||
*** 24th January '2000: wxWindows 2.1.13 released ***
|
*** 24th January '2000: wxWidgets 2.1.13 released ***
|
||||||
|
|
||||||
Corrections to TAB handling in notebooks.
|
Corrections to TAB handling in notebooks.
|
||||||
|
|
||||||
@@ -404,7 +404,7 @@ Updates to the ODBC classes (George Tasker).
|
|||||||
|
|
||||||
Build-fixes for various platforms and compilers.
|
Build-fixes for various platforms and compilers.
|
||||||
|
|
||||||
*** 6th January '2000: wxWindows 2.1.12 released ***
|
*** 6th January '2000: wxWidgets 2.1.12 released ***
|
||||||
|
|
||||||
Who has a BigEndian computer (e.g. Sparc or PowerPC) that runs a 15
|
Who has a BigEndian computer (e.g. Sparc or PowerPC) that runs a 15
|
||||||
and/or 16 bit colour mode? I need this for testing purposes, i.e. this
|
and/or 16 bit colour mode? I need this for testing purposes, i.e. this
|
||||||
@@ -515,7 +515,7 @@ More minor changes and fixes.
|
|||||||
|
|
||||||
Began work on a new dialog and resource editor (wxDesigner).
|
Began work on a new dialog and resource editor (wxDesigner).
|
||||||
|
|
||||||
*** 7st November '99: wxWindows 2.1.11 released ***
|
*** 7st November '99: wxWidgets 2.1.11 released ***
|
||||||
|
|
||||||
There is still an unresolved problem with bitmap to image
|
There is still an unresolved problem with bitmap to image
|
||||||
conversion on big-endian architectures (such as Solaris),
|
conversion on big-endian architectures (such as Solaris),
|
||||||
@@ -524,14 +524,14 @@ one as I have no BE computer.
|
|||||||
|
|
||||||
Enlightenment has struck the majority of the developers and
|
Enlightenment has struck the majority of the developers and
|
||||||
they have chosen to use the Linux kernel numbering scheme
|
they have chosen to use the Linux kernel numbering scheme
|
||||||
for wxWindows from now on. This means that the next stable
|
for wxWidgets from now on. This means that the next stable
|
||||||
release will be called wxWindows 2.2.X, development snapshots
|
release will be called wxWidgets 2.2.X, development snapshots
|
||||||
will be called 2.1.X.
|
will be called 2.1.X.
|
||||||
|
|
||||||
A lot of discussion has been wasted on how to maintain a
|
A lot of discussion has been wasted on how to maintain a
|
||||||
once released stable version. It was almost universally
|
once released stable version. It was almost universally
|
||||||
agreed that only a commercial entity will have the motivation
|
agreed that only a commercial entity will have the motivation
|
||||||
($$$) to do that - so far there is no wxWindows Inc.
|
($$$) to do that - so far there is no wxWidgets Inc.
|
||||||
|
|
||||||
Support for GTK 1.0 has been dropped. This version has
|
Support for GTK 1.0 has been dropped. This version has
|
||||||
been tested with GTK 1.2.3 and GTK 1.2.6 - it might
|
been tested with GTK 1.2.3 and GTK 1.2.6 - it might
|
||||||
@@ -553,7 +553,7 @@ try again, poor AIX, HP-UX and *BSD users, but don't reckon
|
|||||||
with immediate success. Actually, when using GNU compilers,
|
with immediate success. Actually, when using GNU compilers,
|
||||||
your chances are quite good.
|
your chances are quite good.
|
||||||
|
|
||||||
My rewrite of the wxWindows underlying GTK widget
|
My rewrite of the wxWidgets underlying GTK widget
|
||||||
has turned scrolling including subwindows from barely
|
has turned scrolling including subwindows from barely
|
||||||
functional to pretty and fast. I also added scrolling
|
functional to pretty and fast. I also added scrolling
|
||||||
of foreign windows to wxScrolledWindow.
|
of foreign windows to wxScrolledWindow.
|
||||||
@@ -573,7 +573,7 @@ can now use wxODBC from wxMSW and wxGTK.
|
|||||||
Several printing things fixed. More work needs to be done
|
Several printing things fixed. More work needs to be done
|
||||||
here..
|
here..
|
||||||
|
|
||||||
HTML widget and the wxWindows' help system based upon
|
HTML widget and the wxWidgets' help system based upon
|
||||||
it have been reorganized and improved for easier use
|
it have been reorganized and improved for easier use
|
||||||
from Python and C++. Also HTML printing has been added.
|
from Python and C++. Also HTML printing has been added.
|
||||||
|
|
||||||
@@ -588,14 +588,14 @@ without shadow affect).
|
|||||||
|
|
||||||
Michael is writing a complete rewrite of the antiquated
|
Michael is writing a complete rewrite of the antiquated
|
||||||
wxGrid. This is still work-in-progress and might not make
|
wxGrid. This is still work-in-progress and might not make
|
||||||
it into wxWindows 2.2, we'll see. Help would be welcome
|
it into wxWidgets 2.2, we'll see. Help would be welcome
|
||||||
to make that happen.
|
to make that happen.
|
||||||
|
|
||||||
Made wxMenu code lose less memory, also added wxMenu::Delete().
|
Made wxMenu code lose less memory, also added wxMenu::Delete().
|
||||||
|
|
||||||
Added code to send wxActivateEvent to MDI windows.
|
Added code to send wxActivateEvent to MDI windows.
|
||||||
|
|
||||||
Vadim added configure things to compile wxWindows without any
|
Vadim added configure things to compile wxWidgets without any
|
||||||
GUI library. This is probably work in progress. He'll also add
|
GUI library. This is probably work in progress. He'll also add
|
||||||
a wxFontEnumerator class and has enhanced wxFont to make use
|
a wxFontEnumerator class and has enhanced wxFont to make use
|
||||||
of char-encodings.
|
of char-encodings.
|
||||||
@@ -823,7 +823,7 @@ Implemented global cursors and wxBusyCursor etc. Also removed
|
|||||||
another cursor misbehaviour.
|
another cursor misbehaviour.
|
||||||
|
|
||||||
Updated many parts of the documentation to reflect changes
|
Updated many parts of the documentation to reflect changes
|
||||||
in wxWindows 2.1, wxPython and more exact description of
|
in wxWidgets 2.1, wxPython and more exact description of
|
||||||
cross-platform issues as well as platform differences.
|
cross-platform issues as well as platform differences.
|
||||||
|
|
||||||
Many other fixes, mainly by others...
|
Many other fixes, mainly by others...
|
||||||
@@ -935,7 +935,7 @@ Note that the next release might bring about changes to keyboard
|
|||||||
handling and scroll event intercepting from wxScrolledWindow.
|
handling and scroll event intercepting from wxScrolledWindow.
|
||||||
|
|
||||||
By and large much of the code has stabilized and won't be much
|
By and large much of the code has stabilized and won't be much
|
||||||
*** different in the final wxWindows 2.1 release. Please test as ***
|
*** different in the final wxWidgets 2.1 release. Please test as ***
|
||||||
much as you can.
|
much as you can.
|
||||||
|
|
||||||
The next release will have a new build system.
|
The next release will have a new build system.
|
||||||
@@ -981,7 +981,7 @@ This no longer forces wxGTK applications to sleep (by having
|
|||||||
to call usleep()) in idle time - giving more CPU slices to
|
to call usleep()) in idle time - giving more CPU slices to
|
||||||
the application if desired.
|
the application if desired.
|
||||||
|
|
||||||
wxGLCanvas (the OpenGl for wxWindows) now accepts keyboard input.
|
wxGLCanvas (the OpenGl for wxWidgets) now accepts keyboard input.
|
||||||
|
|
||||||
The usual number of compile and bug fixes from all involved.
|
The usual number of compile and bug fixes from all involved.
|
||||||
|
|
||||||
@@ -1026,7 +1026,7 @@ wxPython still doesn't compile, I think.
|
|||||||
12th April '99: First wxGTK 2.1 snapshot released
|
12th April '99: First wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
|
|
||||||
This is the first developers' version of wxWindows 2.1 for GTK. It's main
|
This is the first developers' version of wxWidgets 2.1 for GTK. It's main
|
||||||
new feature is that it supports GTK 1.2 (as opposed to GTK 1.0) which
|
new feature is that it supports GTK 1.2 (as opposed to GTK 1.0) which
|
||||||
will make development within the GNOME environment a lot easier.
|
will make development within the GNOME environment a lot easier.
|
||||||
|
|
||||||
@@ -1062,16 +1062,16 @@ goodies, possibly world domination.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 5th March '99: wxWindows 2.0 released ***
|
*** 5th March '99: wxWidgets 2.0 released ***
|
||||||
|
|
||||||
|
|
||||||
This is the final version of wxWindows 2.0 for GTK. The versions for
|
This is the final version of wxWidgets 2.0 for GTK. The versions for
|
||||||
Windows and Motif (and also this version) are available form Julian Smart's
|
Windows and Motif (and also this version) are available form Julian Smart's
|
||||||
site. The Mac version is still under development.
|
site. The Mac version is still under development.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 19th February '99: wxWindows 2.0 beta 5 ***
|
*** 19th February '99: wxWidgets 2.0 beta 5 ***
|
||||||
|
|
||||||
|
|
||||||
This is the fifth beta release and it contains mostly bug fixes and
|
This is the fifth beta release and it contains mostly bug fixes and
|
||||||
@@ -1081,7 +1081,7 @@ Applied compile fixes for Solaris (different flavours and compilers).
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 12th February '99: wxWindows 2.0 beta 4 ***
|
*** 12th February '99: wxWidgets 2.0 beta 4 ***
|
||||||
|
|
||||||
|
|
||||||
This is the fourth beta release and it contains mostly bug fixes and
|
This is the fourth beta release and it contains mostly bug fixes and
|
||||||
@@ -1100,7 +1100,7 @@ Fixed many bugs. You guessed it.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 29th January '99: wxWindows 2.0 beta 3 ***
|
*** 29th January '99: wxWidgets 2.0 beta 3 ***
|
||||||
|
|
||||||
|
|
||||||
This is the third beta release and it contains mostly bug fixes.
|
This is the third beta release and it contains mostly bug fixes.
|
||||||
@@ -1109,7 +1109,7 @@ There is one field where we haven't been able to fix the API yet, and that
|
|||||||
it Drag'n'Drop. This is mostly due to the fact that DnD in
|
it Drag'n'Drop. This is mostly due to the fact that DnD in
|
||||||
GTK 1.0 is hardly usable and much different from GTK 1.2 which means that
|
GTK 1.0 is hardly usable and much different from GTK 1.2 which means that
|
||||||
we have to design a common API for Windows, GTK 1.0 and GTK 1.2. Although
|
we have to design a common API for Windows, GTK 1.0 and GTK 1.2. Although
|
||||||
we are trying to prevent that, it is possible that wxWindows 2.0 (being
|
we are trying to prevent that, it is possible that wxWidgets 2.0 (being
|
||||||
based on GTK 1.0) will not have proper DnD support.
|
based on GTK 1.0) will not have proper DnD support.
|
||||||
|
|
||||||
The major changes are that tool tips have been added, threads have been completely
|
The major changes are that tool tips have been added, threads have been completely
|
||||||
@@ -1141,7 +1141,7 @@ SuSE 6.0 as SuSE decided to ship 6.0 with a broken GTK+ package.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 6th January '99: wxWindows 2.0 beta 2 ***
|
*** 6th January '99: wxWidgets 2.0 beta 2 ***
|
||||||
|
|
||||||
|
|
||||||
This is the second beta release and contains it mostly build and
|
This is the second beta release and contains it mostly build and
|
||||||
@@ -1150,7 +1150,7 @@ commercial Unices and Windows.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 20th December '98: wxWindows 2.0 beta 1 ***
|
*** 20th December '98: wxWidgets 2.0 beta 1 ***
|
||||||
|
|
||||||
|
|
||||||
This is the first beta release and we have used the time before
|
This is the first beta release and we have used the time before
|
||||||
@@ -1164,7 +1164,7 @@ program statically with wxGTK.
|
|||||||
|
|
||||||
We changed the name of the shared library to include the version of
|
We changed the name of the shared library to include the version of
|
||||||
the GTK used so that no conflicts emerge with simultaneous
|
the GTK used so that no conflicts emerge with simultaneous
|
||||||
versions of wxWindows for GTK 1.0 and for GTK 1.2 and so on.
|
versions of wxWidgets for GTK 1.0 and for GTK 1.2 and so on.
|
||||||
|
|
||||||
As you can see, we have not moved to GTK 1.1.X as the different
|
As you can see, we have not moved to GTK 1.1.X as the different
|
||||||
development versions are too different and buggy to be useful. We'll
|
development versions are too different and buggy to be useful. We'll
|
||||||
@@ -1175,7 +1175,7 @@ wxGTK now compiles without problems on anything between gcc 2.7.2 on
|
|||||||
Linux-x86 and egcs 1.1 on Linux-Alpha and egcs 1.0 on Sparc. This isn't
|
Linux-x86 and egcs 1.1 on Linux-Alpha and egcs 1.0 on Sparc. This isn't
|
||||||
as easy as it sounds...
|
as easy as it sounds...
|
||||||
|
|
||||||
Available form this site are the Python bindings of wxWindows.
|
Available form this site are the Python bindings of wxWidgets.
|
||||||
Thanks to Robin Dunn for this tremendous contribution.
|
Thanks to Robin Dunn for this tremendous contribution.
|
||||||
Tkinter is dead, Java is dead, wxPython rules! That's all there is to say.
|
Tkinter is dead, Java is dead, wxPython rules! That's all there is to say.
|
||||||
|
|
||||||
@@ -1217,9 +1217,9 @@ resulting in unexpected behaviour so it was decided to remove these
|
|||||||
constructors.
|
constructors.
|
||||||
|
|
||||||
As the number of users and the number of test programs and samples
|
As the number of users and the number of test programs and samples
|
||||||
is steadily rising the core classes of wxWindows for MSW and GTK 1.0
|
is steadily rising the core classes of wxWidgets for MSW and GTK 1.0
|
||||||
can be considered to be very stable if not outright bug-free. I haven't
|
can be considered to be very stable if not outright bug-free. I haven't
|
||||||
seen a crash for weeks now and wxWindows' internal debug features also
|
seen a crash for weeks now and wxWidgets' internal debug features also
|
||||||
have improved every week, making stepping-through with a debugger almost
|
have improved every week, making stepping-through with a debugger almost
|
||||||
completely unnecessary as the library reports possible errors itself
|
completely unnecessary as the library reports possible errors itself
|
||||||
(when in debug mode).
|
(when in debug mode).
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
wxWindows 2.5 for GTK installation
|
wxWidgets 2.5 for GTK installation
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
IMPORTANT NOTE:
|
IMPORTANT NOTE:
|
||||||
@@ -9,14 +9,14 @@ IMPORTANT NOTE:
|
|||||||
mailing wxwin-users or the author. Preferably, try to fix the
|
mailing wxwin-users or the author. Preferably, try to fix the
|
||||||
problem first and then send a patch to the author.
|
problem first and then send a patch to the author.
|
||||||
|
|
||||||
When sending bug reports tell us what version of wxWindows you are
|
When sending bug reports tell us what version of wxWidgets you are
|
||||||
using (including the beta) and what compiler on what system. One
|
using (including the beta) and what compiler on what system. One
|
||||||
example: wxGTK 2.4.0, gcc 2.95.4, Redhat 6.2
|
example: wxGTK 2.4.0, gcc 2.95.4, Redhat 6.2
|
||||||
|
|
||||||
* The simplest case
|
* The simplest case
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
If you compile wxWindows on Linux for the first time and don't like to read
|
If you compile wxWidgets on Linux for the first time and don't like to read
|
||||||
install instructions just do (in the base dir):
|
install instructions just do (in the base dir):
|
||||||
|
|
||||||
> ./configure --with-gtk
|
> ./configure --with-gtk
|
||||||
@@ -34,7 +34,7 @@ Afterwards you can continue with
|
|||||||
> ldconfig
|
> ldconfig
|
||||||
> exit
|
> exit
|
||||||
|
|
||||||
If you want to remove wxWindows on Unix you can do this:
|
If you want to remove wxWidgets on Unix you can do this:
|
||||||
|
|
||||||
> su <type root password>
|
> su <type root password>
|
||||||
> make uninstall
|
> make uninstall
|
||||||
@@ -68,10 +68,10 @@ Expect problems.
|
|||||||
* The expert case
|
* The expert case
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
If you want to do some more serious cross-platform programming with wxWindows,
|
If you want to do some more serious cross-platform programming with wxWidgets,
|
||||||
such as for GTK and Motif, you can now build two complete libraries and use
|
such as for GTK and Motif, you can now build two complete libraries and use
|
||||||
them concurrently. For this end, you have to create a directory for each build
|
them concurrently. For this end, you have to create a directory for each build
|
||||||
of wxWindows - you may also want to create different versions of wxWindows
|
of wxWidgets - you may also want to create different versions of wxWidgets
|
||||||
and test them concurrently. Most typically, this would be a version configured
|
and test them concurrently. Most typically, this would be a version configured
|
||||||
with --enable-debug and one without. Note, that only one build can
|
with --enable-debug and one without. Note, that only one build can
|
||||||
currently be installed, so you'd have to use local version of the library for
|
currently be installed, so you'd have to use local version of the library for
|
||||||
@@ -114,7 +114,7 @@ LD_LIBRARY_PATH or equivalent variable contains the path to GTK+ libraries if
|
|||||||
they were installed in a non default location.
|
they were installed in a non default location.
|
||||||
|
|
||||||
You get errors from make: please use GNU make instead of the native make
|
You get errors from make: please use GNU make instead of the native make
|
||||||
program. Currently wxWindows can be built only with GNU make, BSD make and
|
program. Currently wxWidgets can be built only with GNU make, BSD make and
|
||||||
Solaris make. Other versions might work or not (any which don't have VPATH
|
Solaris make. Other versions might work or not (any which don't have VPATH
|
||||||
support definitely won't).
|
support definitely won't).
|
||||||
|
|
||||||
@@ -142,7 +142,7 @@ g++ myfoo.cpp `wx-config --libs --cxxflags` -o myfoo
|
|||||||
* General
|
* General
|
||||||
---------
|
---------
|
||||||
|
|
||||||
The Unix variants of wxWindows use GNU configure. If you have problems with
|
The Unix variants of wxWidgets use GNU configure. If you have problems with
|
||||||
your make use GNU make instead.
|
your make use GNU make instead.
|
||||||
|
|
||||||
If you have general problems with installation, read my homepage at
|
If you have general problems with installation, read my homepage at
|
||||||
@@ -158,7 +158,7 @@ but I tried...
|
|||||||
* GUI libraries
|
* GUI libraries
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
wxWindows/GTK requires the GTK+ library to be installed on your system. It has
|
wxWidgets/GTK requires the GTK+ library to be installed on your system. It has
|
||||||
to be a stable version, preferably version 1.2.10 (at least 1.2.3 is required,
|
to be a stable version, preferably version 1.2.10 (at least 1.2.3 is required,
|
||||||
1.2.7 is strongly recommended).
|
1.2.7 is strongly recommended).
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@ at my homepage.
|
|||||||
* Additional libraries
|
* Additional libraries
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
wxWindows/Gtk requires a thread library and X libraries known to work with
|
wxWidgets/Gtk requires a thread library and X libraries known to work with
|
||||||
threads. This is the case on all commercial Unix-Variants and all
|
threads. This is the case on all commercial Unix-Variants and all
|
||||||
Linux-Versions that are based on glibc 2 except RedHat 5.0 which is broken in
|
Linux-Versions that are based on glibc 2 except RedHat 5.0 which is broken in
|
||||||
many aspects. As of writing this, virtually all Linux distributions have
|
many aspects. As of writing this, virtually all Linux distributions have
|
||||||
@@ -192,7 +192,7 @@ exit
|
|||||||
|
|
||||||
Please send comments and question about the OS/2 installation
|
Please send comments and question about the OS/2 installation
|
||||||
to Stefan Neis <Stefan.Neis@t-online.de> and patches to
|
to Stefan Neis <Stefan.Neis@t-online.de> and patches to
|
||||||
the wxWindows mailing list.
|
the wxWidgets mailing list.
|
||||||
|
|
||||||
In the following list, the version numbers indicate the configuration that
|
In the following list, the version numbers indicate the configuration that
|
||||||
was actually used by myself, newer version should cause no problems and
|
was actually used by myself, newer version should cause no problems and
|
||||||
@@ -260,8 +260,8 @@ to see all the options please use:
|
|||||||
|
|
||||||
./configure --help
|
./configure --help
|
||||||
|
|
||||||
It is recommended to build wxWindows in another directory (maybe a
|
It is recommended to build wxWidgets in another directory (maybe a
|
||||||
subdirectory of your wxWindows installation) as this allows you to
|
subdirectory of your wxWidgets installation) as this allows you to
|
||||||
have multiple configurations (for example, debug and release or GTK
|
have multiple configurations (for example, debug and release or GTK
|
||||||
and Motif) simultaneously.
|
and Motif) simultaneously.
|
||||||
|
|
||||||
@@ -290,9 +290,9 @@ The following options handle the kind of library you want to build.
|
|||||||
--disable-shared Do not create shared libraries, but
|
--disable-shared Do not create shared libraries, but
|
||||||
build static libraries instead.
|
build static libraries instead.
|
||||||
|
|
||||||
--enable-monolithic Build wxWindows as single library instead
|
--enable-monolithic Build wxWidgets as single library instead
|
||||||
of as several smaller libraries (which is
|
of as several smaller libraries (which is
|
||||||
the default since wxWindows 2.5.0).
|
the default since wxWidgets 2.5.0).
|
||||||
|
|
||||||
--disable-optimise Do not optimise the code. Can
|
--disable-optimise Do not optimise the code. Can
|
||||||
sometimes be useful for debugging
|
sometimes be useful for debugging
|
||||||
@@ -332,7 +332,7 @@ The following options handle the kind of library you want to build.
|
|||||||
such as gdb (or its many frontends).
|
such as gdb (or its many frontends).
|
||||||
|
|
||||||
--enable-debug_flag Define __DEBUG__ and __WXDEBUG__ when
|
--enable-debug_flag Define __DEBUG__ and __WXDEBUG__ when
|
||||||
compiling. This enable wxWindows' very
|
compiling. This enable wxWidgets' very
|
||||||
useful internal debugging tricks (such
|
useful internal debugging tricks (such
|
||||||
as automatically reporting illegal calls)
|
as automatically reporting illegal calls)
|
||||||
to work. Note that program and library
|
to work. Note that program and library
|
||||||
@@ -350,14 +350,14 @@ The following options handle the kind of library you want to build.
|
|||||||
|
|
||||||
When producing an executable that is linked statically with wxGTK
|
When producing an executable that is linked statically with wxGTK
|
||||||
you'll be surprised at its immense size. This can sometimes be
|
you'll be surprised at its immense size. This can sometimes be
|
||||||
drastically reduced by removing features from wxWindows that
|
drastically reduced by removing features from wxWidgets that
|
||||||
are not used in your program. The most relevant such features
|
are not used in your program. The most relevant such features
|
||||||
are
|
are
|
||||||
|
|
||||||
--with-odbc Enables ODBC code. This is disabled
|
--with-odbc Enables ODBC code. This is disabled
|
||||||
by default because iODBC is under the
|
by default because iODBC is under the
|
||||||
L-GPL license which is less liberal than
|
L-GPL license which is less liberal than
|
||||||
wxWindows license.
|
wxWidgets license.
|
||||||
|
|
||||||
--without-libpng Disables PNG image format code.
|
--without-libpng Disables PNG image format code.
|
||||||
|
|
||||||
@@ -432,7 +432,7 @@ password) and type
|
|||||||
|
|
||||||
make install
|
make install
|
||||||
|
|
||||||
You can remove any traces of wxWindows by typing
|
You can remove any traces of wxWidgets by typing
|
||||||
|
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
||||||
@@ -468,14 +468,14 @@ clean:
|
|||||||
This is certain to become the standard way unless we decide
|
This is certain to become the standard way unless we decide
|
||||||
to stick to tmake.
|
to stick to tmake.
|
||||||
|
|
||||||
If your application uses only some of wxWindows libraries, you can
|
If your application uses only some of wxWidgets libraries, you can
|
||||||
specify required libraries when running wx-config. For example,
|
specify required libraries when running wx-config. For example,
|
||||||
`wx-config --libs=html,core` will only output link command to link
|
`wx-config --libs=html,core` will only output link command to link
|
||||||
with libraries required by core GUI classes and wxHTML classes. See
|
with libraries required by core GUI classes and wxHTML classes. See
|
||||||
the manual for more information on the libraries.
|
the manual for more information on the libraries.
|
||||||
|
|
||||||
2) The other way creates a project within the source code
|
2) The other way creates a project within the source code
|
||||||
directories of wxWindows. For this endeavour, you'll need
|
directories of wxWidgets. For this endeavour, you'll need
|
||||||
GNU autoconf version 2.14 and add an entry to your Makefile.in
|
GNU autoconf version 2.14 and add an entry to your Makefile.in
|
||||||
to the bottom of the configure.in script and run autoconf
|
to the bottom of the configure.in script and run autoconf
|
||||||
and configure before you can type make.
|
and configure before you can type make.
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
wxWindows Library License, Version 3
|
wxWidgets Library License, Version 3
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
Copyright (C) 1998 Julian Smart, Robert Roebling et al.
|
Copyright (C) 1998 Julian Smart, Robert Roebling et al.
|
||||||
@@ -30,7 +30,7 @@ wxWindows Library License, Version 3
|
|||||||
|
|
||||||
1. As a special exception, the copyright holders of this library give
|
1. As a special exception, the copyright holders of this library give
|
||||||
permission for additional uses of the text contained in this release of
|
permission for additional uses of the text contained in this release of
|
||||||
the library as licensed under the wxWindows Library License, applying
|
the library as licensed under the wxWidgets Library License, applying
|
||||||
either version 3 of the License, or (at your option) any later version of
|
either version 3 of the License, or (at your option) any later version of
|
||||||
the License as published by the copyright holders of version 3 of the
|
the License as published by the copyright holders of version 3 of the
|
||||||
License document.
|
License document.
|
||||||
|
@@ -1,20 +1,20 @@
|
|||||||
|
|
||||||
Welcome to wxWindows/Gtk 2.5
|
Welcome to wxWidgets/Gtk 2.5
|
||||||
|
|
||||||
You have downloaded version 2.5 of the GTK port of the
|
You have downloaded version 2.5 of the GTK port of the
|
||||||
wxWindows GUI library.
|
wxWidgets GUI library.
|
||||||
|
|
||||||
wxWindows no longer supports GTK 1.0 (as did some early
|
wxWidgets no longer supports GTK 1.0 (as did some early
|
||||||
snapshots) so that you will need GTK 1.2 when using it.
|
snapshots) so that you will need GTK 1.2 when using it.
|
||||||
GTK 1.2.6 or above is recommended although some programs
|
GTK 1.2.6 or above is recommended although some programs
|
||||||
will work with GTK 1.2.3 onwards. There is now support
|
will work with GTK 1.2.3 onwards. There is now support
|
||||||
for GTK 2.0.
|
for GTK 2.0.
|
||||||
|
|
||||||
More info about the wxWindows project (including the
|
More info about the wxWidgets project (including the
|
||||||
Windows, X11/Motif and other ports) can be found at the main
|
Windows, X11/Motif and other ports) can be found at the main
|
||||||
wxWindows homepage at:
|
wxWidgets homepage at:
|
||||||
|
|
||||||
http://www.wxwindows.org
|
http://www.wxwidgets.org
|
||||||
|
|
||||||
Information on how to install can be found in the file
|
Information on how to install can be found in the file
|
||||||
INSTALL.txt, but if you cannot wait, this should work on
|
INSTALL.txt, but if you cannot wait, this should work on
|
||||||
@@ -56,16 +56,16 @@ libwx_gtk.a (static, only buil if --disable-shared configure
|
|||||||
switch was used or if shared libraries are not supported at all
|
switch was used or if shared libraries are not supported at all
|
||||||
on your platform which is quite unlikely) and
|
on your platform which is quite unlikely) and
|
||||||
libwx_gtk-2.2.so.0.0.0 (shared) so that once a binary
|
libwx_gtk-2.2.so.0.0.0 (shared) so that once a binary
|
||||||
incompatible version of wxWindows/Gtk comes out we'll augment
|
incompatible version of wxWidgets/Gtk comes out we'll augment
|
||||||
the library version number to avoid linking problems.
|
the library version number to avoid linking problems.
|
||||||
|
|
||||||
Please send problems concerning installation, feature requests,
|
Please send problems concerning installation, feature requests,
|
||||||
bug reports or comments to the wxWindows users list. Information
|
bug reports or comments to the wxWidgets users list. Information
|
||||||
on how to subscribe is available from my homepage.
|
on how to subscribe is available from my homepage.
|
||||||
|
|
||||||
Do NOT send any comments directly to me.
|
Do NOT send any comments directly to me.
|
||||||
|
|
||||||
wxWindows/Gtk doesn't come with any guarantee whatsoever. It
|
wxWidgets/Gtk doesn't come with any guarantee whatsoever. It
|
||||||
might crash your harddisk or destroy your monitor. It doesn't
|
might crash your harddisk or destroy your monitor. It doesn't
|
||||||
claim to be suitable for any special or general purpose.
|
claim to be suitable for any special or general purpose.
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
|
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<TITLE>wxWindows Documentation</TITLE>
|
<TITLE>wxWidgets Documentation</TITLE>
|
||||||
|
|
||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
@@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
<IMG src="logo.gif" align=right hspace=10 vspace=0>
|
<IMG src="logo.gif" align=right hspace=10 vspace=0>
|
||||||
|
|
||||||
<b>Welcome to wxWindows 2, the première cross-platform GUI C++ framework.</b><P>
|
<b>Welcome to wxWidgets 2, the première cross-platform GUI C++ framework.</b><P>
|
||||||
|
|
||||||
This is an index of
|
This is an index of
|
||||||
the plain text, HTML, Windows Help and Acrobat documentation: availability depends on what you've
|
the plain text, HTML, Windows Help and Acrobat documentation: availability depends on what you've
|
||||||
downloaded from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<br clear=all><P>
|
downloaded from the <a href="http://www.wxwindows.org">wxWidgets Web site</a>.<br clear=all><P>
|
||||||
|
|
||||||
<CENTER>
|
<CENTER>
|
||||||
<FONT size=-1>
|
<FONT size=-1>
|
||||||
@@ -44,8 +44,8 @@ downloaded from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<b
|
|||||||
|
|
||||||
<P>
|
<P>
|
||||||
|
|
||||||
Unless you installed a binary version of wxWindows using RPMs,
|
Unless you installed a binary version of wxWidgets using RPMs,
|
||||||
you will probably have to compile the wxWindows library first.
|
you will probably have to compile the wxWidgets library first.
|
||||||
Please read the platform-specific readme.txt and install.txt
|
Please read the platform-specific readme.txt and install.txt
|
||||||
for how to do this.
|
for how to do this.
|
||||||
|
|
||||||
@@ -77,18 +77,18 @@ for how to do this.
|
|||||||
<li><a href="faq.htm"><B>FAQ</B></a>:
|
<li><a href="faq.htm"><B>FAQ</B></a>:
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="faqgen.htm">General questions</a>
|
<li><a href="faqgen.htm">General questions</a>
|
||||||
<li><a href="faqgtk.htm">wxWindows 2 for GTK+</a>
|
<li><a href="faqgtk.htm">wxWidgets 2 for GTK+</a>
|
||||||
<li><a href="faqmsw.htm">wxWindows 2 for Windows</a>
|
<li><a href="faqmsw.htm">wxWidgets 2 for Windows</a>
|
||||||
<li><a href="faqmot.htm">wxWindows 2 for Motif</a>
|
<li><a href="faqmot.htm">wxWidgets 2 for Motif</a>
|
||||||
<li><a href="faqx11.htm">wxWindows 2 for X11</a>
|
<li><a href="faqx11.htm">wxWidgets 2 for X11</a>
|
||||||
<li><a href="faqmac.htm">wxWindows 2 for Mac</a>
|
<li><a href="faqmac.htm">wxWidgets 2 for Mac</a>
|
||||||
</ul>
|
</ul>
|
||||||
<li>ToDo: <a href="../todo.txt"><b>General ToDo</b></a>,
|
<li>ToDo: <a href="../todo.txt"><b>General ToDo</b></a>,
|
||||||
<a href="../gtk/todo.txt">wxGTK</a>,
|
<a href="../gtk/todo.txt">wxGTK</a>,
|
||||||
<a href="../motif/todo.txt">wxMotif</a>,
|
<a href="../motif/todo.txt">wxMotif</a>,
|
||||||
<a href="../msw/todo.txt">wxMSW</a>,
|
<a href="../msw/todo.txt">wxMSW</a>,
|
||||||
<a href="../mac/todo.txt">wxMac</a>
|
<a href="../mac/todo.txt">wxMac</a>
|
||||||
<li>List of <a href="../symbols.txt">preprocessor symbols</a> used in wxWindows
|
<li>List of <a href="../symbols.txt">preprocessor symbols</a> used in wxWidgets
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
Further platform-specific notes:
|
Further platform-specific notes:
|
||||||
@@ -103,7 +103,7 @@ Further platform-specific notes:
|
|||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#004080" align=left height=24 background="images/bluetitlegradient.gif">
|
<td bgcolor="#004080" align=left height=24 background="images/bluetitlegradient.gif">
|
||||||
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
||||||
<b><a name="manuals">wxWindows manuals</a></b>
|
<b><a name="manuals">wxWidgets manuals</a></b>
|
||||||
</font>
|
</font>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -115,7 +115,7 @@ To use manuals in wxHTML Help form (extension htb), you can use the <b>HelpView<
|
|||||||
application, either compiling it from utils/helpview in the distribution,
|
application, either compiling it from utils/helpview in the distribution,
|
||||||
or downloading a binary, for example from <a href="http://www.storylinescentral.com/helpview.htm">here</a>.<P>
|
or downloading a binary, for example from <a href="http://www.storylinescentral.com/helpview.htm">here</a>.<P>
|
||||||
|
|
||||||
See also the <a href="../pdf/wxTutorial.pdf">wxWindows Tutorial</a>
|
See also the <a href="../pdf/wxTutorial.pdf">wxWidgets Tutorial</a>
|
||||||
by Franky Braem, in PDF format.<P>
|
by Franky Braem, in PDF format.<P>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@@ -142,23 +142,23 @@ by Franky Braem, in PDF format.<P>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td align=center>
|
<td align=center>
|
||||||
<a href="wx/wx.htm">wxWindows Reference</a>
|
<a href="wx/wx.htm">wxWidgets Reference</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align=center>
|
<td align=center>
|
||||||
<a href="../winhelp/wx.hlp">wxWindows Reference</a>
|
<a href="../winhelp/wx.hlp">wxWidgets Reference</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align=center>
|
<td align=center>
|
||||||
<a href="../htmlhelp/wx.chm">wxWindows Reference</a>
|
<a href="../htmlhelp/wx.chm">wxWidgets Reference</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align=center>
|
<td align=center>
|
||||||
<a href="../htb/wx.htb">wxWindows Reference</a>
|
<a href="../htb/wx.htb">wxWidgets Reference</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align=center>
|
<td align=center>
|
||||||
<a href="../pdf/wx.pdf">wxWindows Reference</a>
|
<a href="../pdf/wx.pdf">wxWidgets Reference</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ by Franky Braem, in PDF format.<P>
|
|||||||
<li><a href="../tech/index.txt">Index of technical notes</a>
|
<li><a href="../tech/index.txt">Index of technical notes</a>
|
||||||
<li><a href="../tech/">Technical notes</a>
|
<li><a href="../tech/">Technical notes</a>
|
||||||
<li><a href="platform.htm">Platforms supported</a>
|
<li><a href="platform.htm">Platforms supported</a>
|
||||||
<li><a href="i18n.htm">Languages supported by wxWindows</a>
|
<li><a href="i18n.htm">Languages supported by wxWidgets</a>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@@ -285,11 +285,11 @@ by Franky Braem, in PDF format.<P>
|
|||||||
|
|
||||||
<P>
|
<P>
|
||||||
|
|
||||||
Each of the following samples demonstrates one or more aspect of wxWindows.<P>
|
Each of the following samples demonstrates one or more aspect of wxWidgets.<P>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="../../samples/calendar">artprov</a>: shows how you can customize the look of standard
|
<li><a href="../../samples/calendar">artprov</a>: shows how you can customize the look of standard
|
||||||
wxWindows dialogs by replacing default bitmaps/icons with your own versions.
|
wxWidgets dialogs by replacing default bitmaps/icons with your own versions.
|
||||||
<li><a href="../../samples/calendar">calendar</a>: a sample to test the wxCalendarCtrl class.
|
<li><a href="../../samples/calendar">calendar</a>: a sample to test the wxCalendarCtrl class.
|
||||||
<li><a href="../../samples/caret">caret</a>: a sample to test the wxCaret class.
|
<li><a href="../../samples/caret">caret</a>: a sample to test the wxCaret class.
|
||||||
<li><a href="../../samples/checklst">checklst</a>: demonstrates wxCheckListBox on
|
<li><a href="../../samples/checklst">checklst</a>: demonstrates wxCheckListBox on
|
||||||
@@ -297,7 +297,7 @@ supported platforms (currently Windows and GTK only).
|
|||||||
<li><a href="../../samples/config">config</a>: demonstrates use of wxConfig, which
|
<li><a href="../../samples/config">config</a>: demonstrates use of wxConfig, which
|
||||||
defaults to wxRegConfig on WIN32 (optionally wxIniConfig), and wxFileConfig on other platforms.
|
defaults to wxRegConfig on WIN32 (optionally wxIniConfig), and wxFileConfig on other platforms.
|
||||||
<li><a href="../../samples/console">console</a>: demonstrates a console application using
|
<li><a href="../../samples/console">console</a>: demonstrates a console application using
|
||||||
console-mode (no-GUI) compilation of wxWindows.
|
console-mode (no-GUI) compilation of wxWidgets.
|
||||||
<li><a href="../../samples/controls">controls</a>: sample showing a variety of controls, including
|
<li><a href="../../samples/controls">controls</a>: sample showing a variety of controls, including
|
||||||
wxNotebook.
|
wxNotebook.
|
||||||
<li><a href="../../samples/db">db</a>: wxDB ODBC sample.
|
<li><a href="../../samples/db">db</a>: wxDB ODBC sample.
|
||||||
@@ -335,7 +335,7 @@ applications and also as a help facility.
|
|||||||
<li><a href="../../samples/html/zip">zip</a>: shows how help files can be packaged in zip archives.
|
<li><a href="../../samples/html/zip">zip</a>: shows how help files can be packaged in zip archives.
|
||||||
</ul>
|
</ul>
|
||||||
<li><a href="../../samples/image">image</a>: shows off the cross-platform wxImage class.
|
<li><a href="../../samples/image">image</a>: shows off the cross-platform wxImage class.
|
||||||
<li><a href="../../samples/internat">internat</a>: use of wxWindows' internationalization support.
|
<li><a href="../../samples/internat">internat</a>: use of wxWidgets' internationalization support.
|
||||||
<li><a href="../../samples/joytest">joytest</a>: tests the wxJoystick class (currently Windows and GTK only).
|
<li><a href="../../samples/joytest">joytest</a>: tests the wxJoystick class (currently Windows and GTK only).
|
||||||
<li><a href="../../samples/keyboard">keyboard</a>: tests keyboard support.
|
<li><a href="../../samples/keyboard">keyboard</a>: tests keyboard support.
|
||||||
<li><a href="../../samples/layout">layout</a>: shows the constraint layout system in action.
|
<li><a href="../../samples/layout">layout</a>: shows the constraint layout system in action.
|
||||||
@@ -346,15 +346,15 @@ WIN32, and using a generic version on other platforms).
|
|||||||
scheme is used whereby child windows have full sizing and moving rights within the main
|
scheme is used whereby child windows have full sizing and moving rights within the main
|
||||||
window. On other platforms, tabbed windows are used, where the children are always maximized.
|
window. On other platforms, tabbed windows are used, where the children are always maximized.
|
||||||
<li><a href="../../samples/memcheck">memcheck</a>: demonstrates the memory checking/debugging facilities.
|
<li><a href="../../samples/memcheck">memcheck</a>: demonstrates the memory checking/debugging facilities.
|
||||||
<li><a href="../../samples/mfc">mfc</a>: shows how to use MFC and wxWindows code in the same application (Windows only).
|
<li><a href="../../samples/mfc">mfc</a>: shows how to use MFC and wxWidgets code in the same application (Windows only).
|
||||||
To compile this, you must edit include/wx/wxprec.h, comment out the windows.h inclusion, and recompile wxWindows.
|
To compile this, you must edit include/wx/wxprec.h, comment out the windows.h inclusion, and recompile wxWidgets.
|
||||||
<li><a href="../../samples/minifram">minifram</a>: demonstrates a frame with a small title bar. On
|
<li><a href="../../samples/minifram">minifram</a>: demonstrates a frame with a small title bar. On
|
||||||
platforms that don't support it, a normal-sized title bar is displayed.
|
platforms that don't support it, a normal-sized title bar is displayed.
|
||||||
<li><a href="../../samples/minimal">minimal</a>: just shows a frame, a menubar, and a statusbar. About as
|
<li><a href="../../samples/minimal">minimal</a>: just shows a frame, a menubar, and a statusbar. About as
|
||||||
small a wxWindows application as you can get.
|
small a wxWidgets application as you can get.
|
||||||
<li><a href="../../samples/mobile">mobile</a>: mini applications for embedded platforms.
|
<li><a href="../../samples/mobile">mobile</a>: mini applications for embedded platforms.
|
||||||
<li><a href="../../samples/nativdlg">nativdlg</a>: shows how wxWindows can load a standard Windows
|
<li><a href="../../samples/nativdlg">nativdlg</a>: shows how wxWidgets can load a standard Windows
|
||||||
dialog resource, translating the controls into wxWindows controls (Windows only).
|
dialog resource, translating the controls into wxWidgets controls (Windows only).
|
||||||
<li><a href="../../samples/notebook">notebook</a>: shows the wxNotebook (tabbed window) control.
|
<li><a href="../../samples/notebook">notebook</a>: shows the wxNotebook (tabbed window) control.
|
||||||
<li><a href="../../samples/oleauto">oleauto</a>: a little OLE automation controller (Windows only; requires
|
<li><a href="../../samples/oleauto">oleauto</a>: a little OLE automation controller (Windows only; requires
|
||||||
Excel to be present).
|
Excel to be present).
|
||||||
@@ -394,7 +394,7 @@ wxTime, wxDate and wxVariant.
|
|||||||
The following are deprecated samples.
|
The following are deprecated samples.
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="../../contrib/deprecated/samples/resource">resource</a>: shows how to use old-style wxWindows resources (.wxr files).
|
<li><a href="../../contrib/deprecated/samples/resource">resource</a>: shows how to use old-style wxWidgets resources (.wxr files).
|
||||||
<li><a href="../../contrib/deprecated/samples/proplist">proplist</a>: demonstrates the property list classes (a VB-style property editor).
|
<li><a href="../../contrib/deprecated/samples/proplist">proplist</a>: demonstrates the property list classes (a VB-style property editor).
|
||||||
<li><a href="../../contrib/deprecated/samples/treelay">treelay</a>: an algorithm for displaying tree hierarchies.
|
<li><a href="../../contrib/deprecated/samples/treelay">treelay</a>: an algorithm for displaying tree hierarchies.
|
||||||
</ul>
|
</ul>
|
||||||
@@ -421,7 +421,7 @@ The following are fully-fledged applications.<P>
|
|||||||
<li><a href="../../demos/dbbrowse">dbbrowse</a>: ODBC database browser application.
|
<li><a href="../../demos/dbbrowse">dbbrowse</a>: ODBC database browser application.
|
||||||
<li><a href="../../demos/forty">forty</a>: a great little card game by Chris Breeze.
|
<li><a href="../../demos/forty">forty</a>: a great little card game by Chris Breeze.
|
||||||
<li><a href="../../demos/fractal">fractal</a>: fractal mountains by Andrew Davison.
|
<li><a href="../../demos/fractal">fractal</a>: fractal mountains by Andrew Davison.
|
||||||
<li><a href="../../demos/life">life</a>: the game of Life by J. H. Conway, implemented in wxWindows by Guillermo Rodriguez Garcia.
|
<li><a href="../../demos/life">life</a>: the game of Life by J. H. Conway, implemented in wxWidgets by Guillermo Rodriguez Garcia.
|
||||||
<li><a href="../../demos/poem">poem</a>: a little poetry display program.
|
<li><a href="../../demos/poem">poem</a>: a little poetry display program.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
|
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<TITLE>Welcome to wxWindows 2</TITLE>
|
<TITLE>Welcome to wxWidgets</TITLE>
|
||||||
|
|
||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#660000">
|
<td bgcolor="#660000">
|
||||||
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
||||||
Welcome to wxWindows 2
|
Welcome to wxWidgets
|
||||||
</font>
|
</font>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -23,7 +23,7 @@ Welcome to wxWindows 2
|
|||||||
|
|
||||||
<P>
|
<P>
|
||||||
|
|
||||||
Welcome to wxWindows 2, the premiere cross-platform GUI C++ framework.<P>
|
Welcome to wxWidgets, the premiere cross-platform GUI C++ framework.<P>
|
||||||
|
|
||||||
Please click on <a href="html/index.htm">docs/html/index.htm</a> to view the main document index.<P>
|
Please click on <a href="html/index.htm">docs/html/index.htm</a> to view the main document index.<P>
|
||||||
|
|
||||||
|
@@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
\section{\class{wxAccessible}}\label{wxaccessible}
|
\section{\class{wxAccessible}}\label{wxaccessible}
|
||||||
|
|
||||||
The wxAccessible class allows wxWindows applications, and
|
The wxAccessible class allows wxWidgets applications, and
|
||||||
wxWindows itself, to return extended information about user interface elements
|
wxWidgets itself, to return extended information about user interface elements
|
||||||
to client applications such as screen readers. This is the
|
to client applications such as screen readers. This is the
|
||||||
main way in which wxWindows implements accessibility features.
|
main way in which wxWidgets implements accessibility features.
|
||||||
|
|
||||||
At present, only Microsoft Active Accessibility is supported
|
At present, only Microsoft Active Accessibility is supported
|
||||||
by this class.
|
by this class.
|
||||||
@@ -32,7 +32,7 @@ wxAccessible; for example, the sash of a splitter window.
|
|||||||
For details on the semantics of functions and types, please refer to the
|
For details on the semantics of functions and types, please refer to the
|
||||||
Microsoft Active Accessibility 1.2 documentation.
|
Microsoft Active Accessibility 1.2 documentation.
|
||||||
|
|
||||||
This class is compiled into wxWindows only if the wxUSE\_ACCESSIBILITY setup
|
This class is compiled into wxWidgets only if the wxUSE\_ACCESSIBILITY setup
|
||||||
symbol is set to 1.
|
symbol is set to 1.
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
@@ -12,7 +12,7 @@ objects in the application.
|
|||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
You should use the macro IMPLEMENT\_APP(appClass) in your application implementation
|
You should use the macro IMPLEMENT\_APP(appClass) in your application implementation
|
||||||
file to tell wxWindows how to create an instance of your application class.
|
file to tell wxWidgets how to create an instance of your application class.
|
||||||
|
|
||||||
Use DECLARE\_APP(appClass) in a header file if you want the wxGetApp function (which returns
|
Use DECLARE\_APP(appClass) in a header file if you want the wxGetApp function (which returns
|
||||||
a reference to your application object) to be visible to other files.
|
a reference to your application object) to be visible to other files.
|
||||||
@@ -112,7 +112,7 @@ Returns the application name.
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
wxWindows sets this to a reasonable default before
|
wxWidgets sets this to a reasonable default before
|
||||||
calling \helpref{wxApp::OnInit}{wxapponinit}, but the application can reset it at will.
|
calling \helpref{wxApp::OnInit}{wxapponinit}, but the application can reset it at will.
|
||||||
|
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ the top window.
|
|||||||
|
|
||||||
\func{int}{MainLoop}{\void}
|
\func{int}{MainLoop}{\void}
|
||||||
|
|
||||||
Called by wxWindows on creation of the application. Override this if you wish
|
Called by wxWidgets on creation of the application. Override this if you wish
|
||||||
to provide your own (environment-dependent) main loop.
|
to provide your own (environment-dependent) main loop.
|
||||||
|
|
||||||
\wxheading{Return value}
|
\wxheading{Return value}
|
||||||
@@ -346,7 +346,7 @@ Finally note that if the exception is rethrown from here, it can be caught in
|
|||||||
Override this member function for any processing which needs to be
|
Override this member function for any processing which needs to be
|
||||||
done as the application is about to exit. OnExit is called after
|
done as the application is about to exit. OnExit is called after
|
||||||
destroying all application windows and controls, but before
|
destroying all application windows and controls, but before
|
||||||
wxWindows cleanup. Note that it is not called at all if
|
wxWidgets cleanup. Note that it is not called at all if
|
||||||
\helpref{OnInit}{wxapponinit} failed.
|
\helpref{OnInit}{wxapponinit} failed.
|
||||||
|
|
||||||
The return value of this function is currently ignored, return the same value
|
The return value of this function is currently ignored, return the same value
|
||||||
@@ -381,11 +381,11 @@ work and, in fact, probably won't.
|
|||||||
%%since this forwards OnIdle events to windows and also performs garbage collection for
|
%%since this forwards OnIdle events to windows and also performs garbage collection for
|
||||||
%%windows whose destruction has been delayed.
|
%%windows whose destruction has been delayed.
|
||||||
%%
|
%%
|
||||||
%%wxWindows' strategy for OnIdle processing is as follows. After pending user interface events for an
|
%%wxWidgets' strategy for OnIdle processing is as follows. After pending user interface events for an
|
||||||
%%application have all been processed, wxWindows sends an OnIdle event to the application object. wxApp::OnIdle itself
|
%%application have all been processed, wxWidgets sends an OnIdle event to the application object. wxApp::OnIdle itself
|
||||||
%%sends an OnIdle event to each application window, allowing windows to do idle processing such as updating
|
%%sends an OnIdle event to each application window, allowing windows to do idle processing such as updating
|
||||||
%%their appearance. If either wxApp::OnIdle or a window OnIdle function requested more time, by
|
%%their appearance. If either wxApp::OnIdle or a window OnIdle function requested more time, by
|
||||||
%%calling \helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}, wxWindows will send another OnIdle
|
%%calling \helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}, wxWidgets will send another OnIdle
|
||||||
%%event to the application object. This will occur in a loop until either a user event is found to be
|
%%event to the application object. This will occur in a loop until either a user event is found to be
|
||||||
%%pending, or OnIdle requests no more time. Then all pending user events are processed until the system
|
%%pending, or OnIdle requests no more time. Then all pending user events are processed until the system
|
||||||
%%goes idle again, when OnIdle is called, and so on.
|
%%goes idle again, when OnIdle is called, and so on.
|
||||||
@@ -433,7 +433,7 @@ application's main window, optionally calling
|
|||||||
that the function returns \true.
|
that the function returns \true.
|
||||||
|
|
||||||
Notice that if you want to to use the command line processing provided by
|
Notice that if you want to to use the command line processing provided by
|
||||||
wxWindows you have to call the base class version in the derived class
|
wxWidgets you have to call the base class version in the derived class
|
||||||
OnInit().
|
OnInit().
|
||||||
|
|
||||||
Return \true to continue processing, \false to exit the application
|
Return \true to continue processing, \false to exit the application
|
||||||
@@ -488,7 +488,7 @@ Under Windows, OnQueryEndSession is called in response to the WM\_QUERYENDSESSIO
|
|||||||
|
|
||||||
\func{virtual int}{OnRun}{\void}
|
\func{virtual int}{OnRun}{\void}
|
||||||
|
|
||||||
This virtual function is where the execution of a program written in wxWindows
|
This virtual function is where the execution of a program written in wxWidgets
|
||||||
starts. The default implementation just enters the main loop and starts
|
starts. The default implementation just enters the main loop and starts
|
||||||
handling the events until it terminates, either because
|
handling the events until it terminates, either because
|
||||||
\helpref{ExitMainLoop}{wxappexitmainloop} has been explicitly called or because
|
\helpref{ExitMainLoop}{wxappexitmainloop} has been explicitly called or because
|
||||||
@@ -519,14 +519,14 @@ try/catch clause around the call to the base class version there.
|
|||||||
Windows-only function for processing a message. This function
|
Windows-only function for processing a message. This function
|
||||||
is called from the main message loop, checking for windows that
|
is called from the main message loop, checking for windows that
|
||||||
may wish to process it. The function returns true if the message
|
may wish to process it. The function returns true if the message
|
||||||
was processed, false otherwise. If you use wxWindows with another class
|
was processed, false otherwise. If you use wxWidgets with another class
|
||||||
library with its own message loop, you should make sure that this
|
library with its own message loop, you should make sure that this
|
||||||
function is called to allow wxWindows to receive messages. For example,
|
function is called to allow wxWidgets to receive messages. For example,
|
||||||
to allow co-existence with the Microsoft Foundation Classes, override
|
to allow co-existence with the Microsoft Foundation Classes, override
|
||||||
the PreTranslateMessage function:
|
the PreTranslateMessage function:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
// Provide wxWindows message loop compatibility
|
// Provide wxWidgets message loop compatibility
|
||||||
BOOL CTheApp::PreTranslateMessage(MSG *msg)
|
BOOL CTheApp::PreTranslateMessage(MSG *msg)
|
||||||
{
|
{
|
||||||
if (wxTheApp && wxTheApp->ProcessMessage((WXMSW *)msg))
|
if (wxTheApp && wxTheApp->ProcessMessage((WXMSW *)msg))
|
||||||
@@ -554,7 +554,7 @@ Returns true if unprocessed events are in the window system event queue.
|
|||||||
|
|
||||||
Sends idle events to a window and its children.
|
Sends idle events to a window and its children.
|
||||||
|
|
||||||
Please note that this function is internal to wxWindows and shouldn't be used
|
Please note that this function is internal to wxWidgets and shouldn't be used
|
||||||
by user code.
|
by user code.
|
||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
@@ -573,7 +573,7 @@ If true is returned, more OnIdle processing is requested by one or more window.
|
|||||||
|
|
||||||
Sets the name of the application. The name may be used in dialogs
|
Sets the name of the application. The name may be used in dialogs
|
||||||
(for example by the document/view framework). A default name is set by
|
(for example by the document/view framework). A default name is set by
|
||||||
wxWindows.
|
wxWidgets.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
@@ -635,10 +635,10 @@ deleted. If false, the application will continue to run.}
|
|||||||
\func{void}{SetTopWindow}{\param{wxWindow* }{window}}
|
\func{void}{SetTopWindow}{\param{wxWindow* }{window}}
|
||||||
|
|
||||||
Sets the `top' window. You can call this from within \helpref{wxApp::OnInit}{wxapponinit} to
|
Sets the `top' window. You can call this from within \helpref{wxApp::OnInit}{wxapponinit} to
|
||||||
let wxWindows know which is the main window. You don't have to set the top window;
|
let wxWidgets know which is the main window. You don't have to set the top window;
|
||||||
it is only a convenience so that (for example) certain dialogs without parents can use a
|
it is only a convenience so that (for example) certain dialogs without parents can use a
|
||||||
specific window as the top window. If no top window is specified by the application,
|
specific window as the top window. If no top window is specified by the application,
|
||||||
wxWindows just uses the first frame or dialog in its top-level window list, when it
|
wxWidgets just uses the first frame or dialog in its top-level window list, when it
|
||||||
needs to use the top window.
|
needs to use the top window.
|
||||||
|
|
||||||
\wxheading{Parameters}
|
\wxheading{Parameters}
|
||||||
@@ -657,7 +657,7 @@ needs to use the top window.
|
|||||||
|
|
||||||
Sets the name of application's vendor. The name will be used
|
Sets the name of application's vendor. The name will be used
|
||||||
in registry access. A default name is set by
|
in registry access. A default name is set by
|
||||||
wxWindows.
|
wxWidgets.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ but the price is preallocating the memory in advance. In the \helpref{memory man
|
|||||||
you may find some useful hints about optimizing wxArray memory usage. As for executable size, all
|
you may find some useful hints about optimizing wxArray memory usage. As for executable size, all
|
||||||
wxArray functions are inline, so they do not take {\it any space at all}.
|
wxArray functions are inline, so they do not take {\it any space at all}.
|
||||||
|
|
||||||
wxWindows has three different kinds of array. All of them derive from
|
wxWidgets has three different kinds of array. All of them derive from
|
||||||
wxBaseArray class which works with untyped data and can not be used directly.
|
wxBaseArray class which works with untyped data and can not be used directly.
|
||||||
The standard macros WX\_DEFINE\_ARRAY(), WX\_DEFINE\_SORTED\_ARRAY() and
|
The standard macros WX\_DEFINE\_ARRAY(), WX\_DEFINE\_SORTED\_ARRAY() and
|
||||||
WX\_DEFINE\_OBJARRAY() are used to define a new class deriving from it. The
|
WX\_DEFINE\_OBJARRAY() are used to define a new class deriving from it. The
|
||||||
@@ -39,14 +39,14 @@ deleted when the element is removed from the array. It should be noted that
|
|||||||
all of wxArray's functions are inline, so it costs strictly nothing to define as
|
all of wxArray's functions are inline, so it costs strictly nothing to define as
|
||||||
many array types as you want (either in terms of the executable size or the
|
many array types as you want (either in terms of the executable size or the
|
||||||
speed) as long as at least one of them is defined and this is always the case
|
speed) as long as at least one of them is defined and this is always the case
|
||||||
because wxArrays are used by wxWindows internally. This class has one serious
|
because wxArrays are used by wxWidgets internally. This class has one serious
|
||||||
limitation: it can only be used for storing integral types (bool, char, short,
|
limitation: it can only be used for storing integral types (bool, char, short,
|
||||||
int, long and their unsigned variants) or pointers (of any kind). An attempt
|
int, long and their unsigned variants) or pointers (of any kind). An attempt
|
||||||
to use with objects of sizeof() greater than sizeof(long) will provoke a
|
to use with objects of sizeof() greater than sizeof(long) will provoke a
|
||||||
runtime assertion failure, however declaring a wxArray of floats will not (on
|
runtime assertion failure, however declaring a wxArray of floats will not (on
|
||||||
the machines where sizeof(float) <= sizeof(long)), yet it will {\bf not} work,
|
the machines where sizeof(float) <= sizeof(long)), yet it will {\bf not} work,
|
||||||
please use wxObjArray for storing floats and doubles (NB: a more efficient
|
please use wxObjArray for storing floats and doubles (NB: a more efficient
|
||||||
wxArrayDouble class is scheduled for the next release of wxWindows).
|
wxArrayDouble class is scheduled for the next release of wxWidgets).
|
||||||
|
|
||||||
wxSortedArray is a wxArray variant which should be used when searching in the
|
wxSortedArray is a wxArray variant which should be used when searching in the
|
||||||
array is a frequently used operation. It requires you to define an additional
|
array is a frequently used operation. It requires you to define an additional
|
||||||
@@ -248,7 +248,7 @@ does exactly the same as \helpref{Item()}{wxarrayitem} method.
|
|||||||
\func{}{WX\_DEFINE\_USER\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}, \param{}{exportspec}}
|
\func{}{WX\_DEFINE\_USER\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}, \param{}{exportspec}}
|
||||||
|
|
||||||
This macro defines a new array class named {\it name} and containing the
|
This macro defines a new array class named {\it name} and containing the
|
||||||
elements of type {\it T}. The second form is used when compiling wxWindows as
|
elements of type {\it T}. The second form is used when compiling wxWidgets as
|
||||||
a DLL under Windows and array needs to be visible outside the DLL. The third is
|
a DLL under Windows and array needs to be visible outside the DLL. The third is
|
||||||
needed for exporting an array from a user DLL.
|
needed for exporting an array from a user DLL.
|
||||||
|
|
||||||
@@ -261,7 +261,7 @@ class MyClass;
|
|||||||
WX_DEFINE_ARRAY(MyClass *, wxArrayOfMyClass);
|
WX_DEFINE_ARRAY(MyClass *, wxArrayOfMyClass);
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
Note that wxWindows predefines the following standard array classes: wxArrayInt,
|
Note that wxWidgets predefines the following standard array classes: wxArrayInt,
|
||||||
wxArrayLong and wxArrayPtrVoid.
|
wxArrayLong and wxArrayPtrVoid.
|
||||||
|
|
||||||
\membersection{WX\_DEFINE\_SORTED\_ARRAY}\label{wxdefinesortedarray}
|
\membersection{WX\_DEFINE\_SORTED\_ARRAY}\label{wxdefinesortedarray}
|
||||||
@@ -273,7 +273,7 @@ wxArrayLong and wxArrayPtrVoid.
|
|||||||
\func{}{WX\_DEFINE\_SORTED\_USER\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}}
|
\func{}{WX\_DEFINE\_SORTED\_USER\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}}
|
||||||
|
|
||||||
This macro defines a new sorted array class named {\it name} and containing
|
This macro defines a new sorted array class named {\it name} and containing
|
||||||
the elements of type {\it T}. The second form is used when compiling wxWindows as
|
the elements of type {\it T}. The second form is used when compiling wxWidgets as
|
||||||
a DLL under Windows and array needs to be visible outside the DLL. The third is
|
a DLL under Windows and array needs to be visible outside the DLL. The third is
|
||||||
needed for exporting an array from a user DLL.
|
needed for exporting an array from a user DLL.
|
||||||
|
|
||||||
@@ -315,7 +315,7 @@ wxArrayOfMyClass another(CompareMyClassObjects);
|
|||||||
\func{}{WX\_DECLARE\_USER\_EXPORTED\_OBJARRAY}{\param{}{T}, \param{}{name}}
|
\func{}{WX\_DECLARE\_USER\_EXPORTED\_OBJARRAY}{\param{}{T}, \param{}{name}}
|
||||||
|
|
||||||
This macro declares a new object array class named {\it name} and containing
|
This macro declares a new object array class named {\it name} and containing
|
||||||
the elements of type {\it T}. The second form is used when compiling wxWindows as
|
the elements of type {\it T}. The second form is used when compiling wxWidgets as
|
||||||
a DLL under Windows and array needs to be visible outside the DLL. The third is
|
a DLL under Windows and array needs to be visible outside the DLL. The third is
|
||||||
needed for exporting an array from a user DLL.
|
needed for exporting an array from a user DLL.
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
\section{\class{wxArtProvider}}\label{wxartprovider}
|
\section{\class{wxArtProvider}}\label{wxartprovider}
|
||||||
|
|
||||||
wxArtProvider class is used to customize the look of wxWindows application.
|
wxArtProvider class is used to customize the look of wxWidgets application.
|
||||||
When wxWindows need to display an icon or a bitmap (e.g. in the standard file
|
When wxWidgets need to display an icon or a bitmap (e.g. in the standard file
|
||||||
dialog), it does not use hard-coded resource but asks wxArtProvider for it
|
dialog), it does not use hard-coded resource but asks wxArtProvider for it
|
||||||
instead. This way the users can plug in own wxArtProvider class and easily
|
instead. This way the users can plug in own wxArtProvider class and easily
|
||||||
replace standard art with his/her own version. It is easy thing to do: all
|
replace standard art with his/her own version. It is easy thing to do: all
|
||||||
@@ -32,7 +32,7 @@ There's another way of taking advantage of this class: you can use it in your co
|
|||||||
platform native icons as provided by
|
platform native icons as provided by
|
||||||
\helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap} or
|
\helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap} or
|
||||||
\helpref{wxArtProvider::GetIcon}{wxartprovidergeticon} (NB: this is not yet really
|
\helpref{wxArtProvider::GetIcon}{wxartprovidergeticon} (NB: this is not yet really
|
||||||
possible as of wxWindows 2.3.3, the set of wxArtProvider bitmaps is too
|
possible as of wxWidgets 2.3.3, the set of wxArtProvider bitmaps is too
|
||||||
small).
|
small).
|
||||||
|
|
||||||
\membersection{Identifying art resources}
|
\membersection{Identifying art resources}
|
||||||
|
@@ -18,7 +18,7 @@ almost any other window.
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
A bitmap button can be supplied with a single bitmap, and wxWindows will draw
|
A bitmap button can be supplied with a single bitmap, and wxWidgets will draw
|
||||||
all button states using this bitmap. If the application needs more control, additional bitmaps for
|
all button states using this bitmap. If the application needs more control, additional bitmaps for
|
||||||
the selected state, unpressed focused state, and greyed-out state may be supplied.
|
the selected state, unpressed focused state, and greyed-out state may be supplied.
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ appropriately for the bitmap.}
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
The {\it bitmap} parameter is normally the only bitmap you need to provide, and wxWindows will
|
The {\it bitmap} parameter is normally the only bitmap you need to provide, and wxWidgets will
|
||||||
draw the button correctly in its different states. If you want more control, call
|
draw the button correctly in its different states. If you want more control, call
|
||||||
any of the functions \helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp
|
any of the functions \helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp
|
||||||
\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus},\rtfsp
|
\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus},\rtfsp
|
||||||
|
@@ -117,8 +117,8 @@ Its meaning is determined by the {\it type} parameter.}
|
|||||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_RESOURCE}}{Load a Windows resource name.}
|
\twocolitem{\indexit{wxBITMAP\_TYPE\_RESOURCE}}{Load a Windows resource name.}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
The validity of these flags depends on the platform and wxWindows configuration.
|
The validity of these flags depends on the platform and wxWidgets configuration.
|
||||||
If all possible wxWindows settings are used, the Windows platform supports BMP file, BMP resource,
|
If all possible wxWidgets settings are used, the Windows platform supports BMP file, BMP resource,
|
||||||
XPM data, and XPM. Under wxGTK, the available formats are BMP file, XPM data, XPM file, and PNG file.
|
XPM data, and XPM. Under wxGTK, the available formats are BMP file, XPM data, XPM file, and PNG file.
|
||||||
Under wxMotif, the available formats are XBM data, XBM file, XPM data, XPM file.
|
Under wxMotif, the available formats are XBM data, XBM file, XPM data, XPM file.
|
||||||
|
|
||||||
@@ -145,7 +145,7 @@ X and Windows.
|
|||||||
|
|
||||||
The sixth form constructs a new bitmap.
|
The sixth form constructs a new bitmap.
|
||||||
|
|
||||||
The seventh form constructs a bitmap from pixmap (XPM) data, if wxWindows has been configured
|
The seventh form constructs a bitmap from pixmap (XPM) data, if wxWidgets has been configured
|
||||||
to incorporate this feature.
|
to incorporate this feature.
|
||||||
|
|
||||||
To use this constructor, you must first include an XPM file. For
|
To use this constructor, you must first include an XPM file. For
|
||||||
@@ -205,7 +205,7 @@ destroyed at this point - only when the reference count is zero will the
|
|||||||
data be deleted.
|
data be deleted.
|
||||||
|
|
||||||
If the application omits to delete the bitmap explicitly, the bitmap will be
|
If the application omits to delete the bitmap explicitly, the bitmap will be
|
||||||
destroyed automatically by wxWindows when the application exits.
|
destroyed automatically by wxWidgets when the application exits.
|
||||||
|
|
||||||
Do not delete a bitmap that is selected into a memory device context.
|
Do not delete a bitmap that is selected into a memory device context.
|
||||||
|
|
||||||
@@ -228,7 +228,7 @@ of a given handler class in an application session.}
|
|||||||
|
|
||||||
Deletes all bitmap handlers.
|
Deletes all bitmap handlers.
|
||||||
|
|
||||||
This function is called by wxWindows on exit.
|
This function is called by wxWidgets on exit.
|
||||||
|
|
||||||
\membersection{wxBitmap::ConvertToImage}\label{wxbitmapconverttoimage}
|
\membersection{wxBitmap::ConvertToImage}\label{wxbitmapconverttoimage}
|
||||||
|
|
||||||
@@ -375,10 +375,10 @@ the bitmap. This function preserves bit depth and mask information.
|
|||||||
|
|
||||||
\func{static void}{InitStandardHandlers}{\void}
|
\func{static void}{InitStandardHandlers}{\void}
|
||||||
|
|
||||||
Adds the standard bitmap format handlers, which, depending on wxWindows
|
Adds the standard bitmap format handlers, which, depending on wxWidgets
|
||||||
configuration, can be handlers for Windows bitmap, Windows bitmap resource, and XPM.
|
configuration, can be handlers for Windows bitmap, Windows bitmap resource, and XPM.
|
||||||
|
|
||||||
This function is called by wxWindows on startup.
|
This function is called by wxWidgets on startup.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
@@ -419,7 +419,7 @@ The meaning of {\it name} is determined by the {\it type} parameter.}
|
|||||||
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
|
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
The validity of these flags depends on the platform and wxWindows configuration.
|
The validity of these flags depends on the platform and wxWidgets configuration.
|
||||||
|
|
||||||
In addition, wxBitmap can read all formats that \helpref{wxImage}{wximage} can
|
In addition, wxBitmap can read all formats that \helpref{wxImage}{wximage} can
|
||||||
(wxBITMAP\_TYPE\_JPEG, wxBITMAP\_TYPE\_PNG, wxBITMAP\_TYPE\_GIF, wxBITMAP\_TYPE\_PCX, wxBITMAP\_TYPE\_PNM).
|
(wxBITMAP\_TYPE\_JPEG, wxBITMAP\_TYPE\_PNG, wxBITMAP\_TYPE\_GIF, wxBITMAP\_TYPE\_PCX, wxBITMAP\_TYPE\_PNM).
|
||||||
@@ -482,7 +482,7 @@ Saves a bitmap in the named file.
|
|||||||
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.}
|
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
The validity of these flags depends on the platform and wxWindows configuration.
|
The validity of these flags depends on the platform and wxWidgets configuration.
|
||||||
|
|
||||||
In addition, wxBitmap can save all formats that \helpref{wxImage}{wximage} can
|
In addition, wxBitmap can save all formats that \helpref{wxImage}{wximage} can
|
||||||
(wxBITMAP\_TYPE\_JPEG, wxBITMAP\_TYPE\_PNG).
|
(wxBITMAP\_TYPE\_JPEG, wxBITMAP\_TYPE\_PNG).
|
||||||
@@ -498,7 +498,7 @@ true if the operation succeeded, false otherwise.
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Depending on how wxWindows has been configured, not all formats may be available.
|
Depending on how wxWidgets has been configured, not all formats may be available.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@ Constructor, optionally passing a bitmap (otherwise use
|
|||||||
|
|
||||||
Returns the bitmap associated with the data object. You may wish to override
|
Returns the bitmap associated with the data object. You may wish to override
|
||||||
this method when offering data on-demand, but this is not required by
|
this method when offering data on-demand, but this is not required by
|
||||||
wxWindows' internals. Use this method to get data in bitmap form from
|
wxWidgets' internals. Use this method to get data in bitmap form from
|
||||||
the \helpref{wxClipboard}{wxclipboard}.
|
the \helpref{wxClipboard}{wxclipboard}.
|
||||||
|
|
||||||
\membersection{wxBitmapDataObject::SetBitmap}\label{wxbitmapdataobjectsetbitmap}
|
\membersection{wxBitmapDataObject::SetBitmap}\label{wxbitmapdataobjectsetbitmap}
|
||||||
|
@@ -3,21 +3,21 @@
|
|||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||||
|
|
||||||
\section{What is wxWindows?}
|
\section{What is wxWidgets?}
|
||||||
|
|
||||||
wxWindows is a C++ framework providing GUI (Graphical User
|
wxWidgets is a C++ framework providing GUI (Graphical User
|
||||||
Interface) and other facilities on more than one platform. Version 2 currently
|
Interface) and other facilities on more than one platform. Version 2 currently
|
||||||
supports all desktop versions of MS Windows, Unix with GTK+, Unix with Motif,
|
supports all desktop versions of MS Windows, Unix with GTK+, Unix with Motif,
|
||||||
and MacOS. An OS/2 port is in progress.
|
and MacOS. An OS/2 port is in progress.
|
||||||
|
|
||||||
wxWindows was originally developed at the Artificial Intelligence
|
wxWidgets was originally developed at the Artificial Intelligence
|
||||||
Applications Institute, University of Edinburgh, for internal use,
|
Applications Institute, University of Edinburgh, for internal use,
|
||||||
and was first made publicly available in 1992.
|
and was first made publicly available in 1992.
|
||||||
Version 2 is a vastly improved version written and maintained by
|
Version 2 is a vastly improved version written and maintained by
|
||||||
Julian Smart, Robert Roebling, Vadim Zeitlin, Vaclav Slavik and many others.
|
Julian Smart, Robert Roebling, Vadim Zeitlin, Vaclav Slavik and many others.
|
||||||
|
|
||||||
This manual contains a class reference and topic overviews.
|
This manual contains a class reference and topic overviews.
|
||||||
For a selection of wxWindows tutorials, please see the documentation page on the \urlref{wxWindows web site}{http://www.wxwindows.org}.
|
For a selection of wxWidgets tutorials, please see the documentation page on the \urlref{wxWidgets web site}{http://www.wxwidgets.org}.
|
||||||
|
|
||||||
Please note that in the following, ``MS Windows" often refers to all
|
Please note that in the following, ``MS Windows" often refers to all
|
||||||
platforms related to Microsoft Windows, including 16-bit and 32-bit
|
platforms related to Microsoft Windows, including 16-bit and 32-bit
|
||||||
@@ -25,7 +25,7 @@ variants, unless otherwise stated. All trademarks are acknowledged.
|
|||||||
|
|
||||||
\section{Why another cross-platform development tool?}
|
\section{Why another cross-platform development tool?}
|
||||||
|
|
||||||
wxWindows was developed to provide a cheap and flexible way to maximize
|
wxWidgets was developed to provide a cheap and flexible way to maximize
|
||||||
investment in GUI application development. While a number of commercial
|
investment in GUI application development. While a number of commercial
|
||||||
class libraries already existed for cross-platform development,
|
class libraries already existed for cross-platform development,
|
||||||
none met all of the following criteria:
|
none met all of the following criteria:
|
||||||
@@ -37,14 +37,14 @@ none met all of the following criteria:
|
|||||||
\item support for a wide range of compilers.
|
\item support for a wide range of compilers.
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
Since wxWindows was started, several other free or almost-free
|
Since wxWidgets was started, several other free or almost-free
|
||||||
GUI frameworks have emerged. However, none has the range of
|
GUI frameworks have emerged. However, none has the range of
|
||||||
features, flexibility, documentation and the well-established
|
features, flexibility, documentation and the well-established
|
||||||
development team that wxWindows has.
|
development team that wxWidgets has.
|
||||||
|
|
||||||
As open source software, wxWindows has benefited from comments,
|
As open source software, wxWidgets has benefited from comments,
|
||||||
ideas, bug fixes, enhancements and the sheer enthusiasm of
|
ideas, bug fixes, enhancements and the sheer enthusiasm of
|
||||||
users. This gives wxWindows a certain advantage over its
|
users. This gives wxWidgets a certain advantage over its
|
||||||
commercial competitors (and over free libraries without an
|
commercial competitors (and over free libraries without an
|
||||||
independent development team), plus a robustness against the
|
independent development team), plus a robustness against the
|
||||||
transience of one individual or company. This openness and
|
transience of one individual or company. This openness and
|
||||||
@@ -61,19 +61,19 @@ The importance of using a platform-independent class library
|
|||||||
cannot be overstated, since GUI application development is very
|
cannot be overstated, since GUI application development is very
|
||||||
time-consuming, and sustained popularity of particular GUIs
|
time-consuming, and sustained popularity of particular GUIs
|
||||||
cannot be guaranteed. Code can very quickly become obsolete if
|
cannot be guaranteed. Code can very quickly become obsolete if
|
||||||
it addresses the wrong platform or audience. wxWindows helps to
|
it addresses the wrong platform or audience. wxWidgets helps to
|
||||||
insulate the programmer from these winds of change. Although
|
insulate the programmer from these winds of change. Although
|
||||||
wxWindows may not be suitable for every application (such as an
|
wxWidgets may not be suitable for every application (such as an
|
||||||
OLE-intensive program), it provides access to most of the
|
OLE-intensive program), it provides access to most of the
|
||||||
functionality a GUI program normally requires, plus many extras
|
functionality a GUI program normally requires, plus many extras
|
||||||
such as network programming, PostScript output, and HTML
|
such as network programming, PostScript output, and HTML
|
||||||
rendering; and it can of course be extended as needs dictate.
|
rendering; and it can of course be extended as needs dictate.
|
||||||
As a bonus, it provides a far cleaner and easier programming
|
As a bonus, it provides a far cleaner and easier programming
|
||||||
interface than the native APIs. Programmers may find it
|
interface than the native APIs. Programmers may find it
|
||||||
worthwhile to use wxWindows even if they are developing on only
|
worthwhile to use wxWidgets even if they are developing on only
|
||||||
one platform.
|
one platform.
|
||||||
|
|
||||||
It is impossible to sum up the functionality of wxWindows in a few paragraphs, but
|
It is impossible to sum up the functionality of wxWidgets in a few paragraphs, but
|
||||||
here are some of the benefits:
|
here are some of the benefits:
|
||||||
|
|
||||||
\begin{itemize}\itemsep=0pt
|
\begin{itemize}\itemsep=0pt
|
||||||
@@ -134,9 +134,9 @@ Additions and changes:
|
|||||||
\end{itemize}
|
\end{itemize}
|
||||||
\end{comment}
|
\end{comment}
|
||||||
|
|
||||||
\section{wxWindows requirements}\label{requirements}
|
\section{wxWidgets requirements}\label{requirements}
|
||||||
|
|
||||||
To make use of wxWindows, you currently need one of the following setups.
|
To make use of wxWidgets, you currently need one of the following setups.
|
||||||
|
|
||||||
(a) MS-Windows:
|
(a) MS-Windows:
|
||||||
|
|
||||||
@@ -166,22 +166,22 @@ If using the wxX11 port, no such widget set is required.
|
|||||||
\item At least 60 MB of disk space.
|
\item At least 60 MB of disk space.
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
\section{Availability and location of wxWindows}
|
\section{Availability and location of wxWidgets}
|
||||||
|
|
||||||
\winhelponly{wxWindows is available by anonymous FTP and World Wide Web
|
\winhelponly{wxWidgets is available by anonymous FTP and World Wide Web
|
||||||
from ftp://biolpc22.york.ac.uk/pub and/or http://www.wxwindows.org.}
|
from ftp://biolpc22.york.ac.uk/pub and/or http://www.wxwidgets.org.}
|
||||||
\winhelpignore{wxWindows is available by anonymous FTP and World Wide Web
|
\winhelpignore{wxWidgets is available by anonymous FTP and World Wide Web
|
||||||
from \urlref{ftp://biolpc22.york.ac.uk/pub}{ftp://biolpc22.york.ac.uk/pub}
|
from \urlref{ftp://biolpc22.york.ac.uk/pub}{ftp://biolpc22.york.ac.uk/pub}
|
||||||
and/or \urlref{http://www.wxwindows.org}{http://www.wxwindows.org}.}
|
and/or \urlref{http://www.wxwidgets.org}{http://www.wxwidgets.org}.}
|
||||||
|
|
||||||
You can also buy a CD-ROM using the form on the Web site.
|
You can also buy a CD-ROM using the form on the Web site.
|
||||||
|
|
||||||
\section{Acknowledgements}
|
\section{Acknowledgements}
|
||||||
|
|
||||||
Thanks are due to AIAI for being willing to release the original version of
|
Thanks are due to AIAI for being willing to release the original version of
|
||||||
wxWindows into the public domain, and to our patient partners.
|
wxWidgets into the public domain, and to our patient partners.
|
||||||
|
|
||||||
We would particularly like to thank the following for their contributions to wxWindows, and the many others who have been involved in
|
We would particularly like to thank the following for their contributions to wxWidgets, and the many others who have been involved in
|
||||||
the project over the years. Apologies for any unintentional omissions from this list.
|
the project over the years. Apologies for any unintentional omissions from this list.
|
||||||
|
|
||||||
Yiorgos Adamopoulos, Jamshid Afshar, Alejandro Aguilar-Sierra, AIAI, Patrick Albert, Karsten Ballueder, Michael Bedward, Kai Bendorf, Yura Bidus, Keith
|
Yiorgos Adamopoulos, Jamshid Afshar, Alejandro Aguilar-Sierra, AIAI, Patrick Albert, Karsten Ballueder, Michael Bedward, Kai Bendorf, Yura Bidus, Keith
|
||||||
@@ -212,18 +212,18 @@ written prior permission. M.I.T. makes no representations about the
|
|||||||
suitability of this software for any purpose. It is provided ``as is''
|
suitability of this software for any purpose. It is provided ``as is''
|
||||||
without express or implied warranty.}
|
without express or implied warranty.}
|
||||||
|
|
||||||
\chapter{Multi-platform development with wxWindows}\label{multiplat}
|
\chapter{Multi-platform development with wxWidgets}\label{multiplat}
|
||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||||
|
|
||||||
This chapter describes the practical details of using wxWindows. Please
|
This chapter describes the practical details of using wxWidgets. Please
|
||||||
see the file install.txt for up-to-date installation instructions, and
|
see the file install.txt for up-to-date installation instructions, and
|
||||||
changes.txt for differences between versions.
|
changes.txt for differences between versions.
|
||||||
|
|
||||||
\section{Include files}
|
\section{Include files}
|
||||||
|
|
||||||
The main include file is {\tt "wx/wx.h"}; this includes the most commonly
|
The main include file is {\tt "wx/wx.h"}; this includes the most commonly
|
||||||
used modules of wxWindows.
|
used modules of wxWidgets.
|
||||||
|
|
||||||
To save on compilation time, include only those header files relevant to the
|
To save on compilation time, include only those header files relevant to the
|
||||||
source file. If you are using precompiled headers, you should include
|
source file. If you are using precompiled headers, you should include
|
||||||
@@ -254,40 +254,40 @@ Borland precompilation is largely automatic. Visual C++ requires specification o
|
|||||||
the file to use for precompilation. Watcom C++ is automatic apart from the specification of
|
the file to use for precompilation. Watcom C++ is automatic apart from the specification of
|
||||||
the .pch file. Watcom C++ is strange in requiring the precompiled header to be used only for
|
the .pch file. Watcom C++ is strange in requiring the precompiled header to be used only for
|
||||||
object files compiled in the same directory as that in which the precompiled header was created.
|
object files compiled in the same directory as that in which the precompiled header was created.
|
||||||
Therefore, the wxWindows Watcom C++ makefiles go through hoops deleting and recreating
|
Therefore, the wxWidgets Watcom C++ makefiles go through hoops deleting and recreating
|
||||||
a single precompiled header file for each module, thus preventing an accumulation of many
|
a single precompiled header file for each module, thus preventing an accumulation of many
|
||||||
multi-megabyte .pch files.
|
multi-megabyte .pch files.
|
||||||
|
|
||||||
\section{Libraries}
|
\section{Libraries}
|
||||||
|
|
||||||
Most ports of wxWindows can create either a static library or a shared
|
Most ports of wxWidgets can create either a static library or a shared
|
||||||
library. wxWindows can also be built in multilib and monolithic variants.
|
library. wxWidgets can also be built in multilib and monolithic variants.
|
||||||
See the \helpref{libraries list}{librarieslist} for more
|
See the \helpref{libraries list}{librarieslist} for more
|
||||||
information on these.
|
information on these.
|
||||||
|
|
||||||
\section{Configuration}
|
\section{Configuration}
|
||||||
|
|
||||||
When using project files and makefiles directly to build wxWindows,
|
When using project files and makefiles directly to build wxWidgets,
|
||||||
options are configurable in the file
|
options are configurable in the file
|
||||||
\rtfsp{\tt "wx/XXX/setup.h"} where XXX is the required platform (such as msw, motif, gtk, mac). Some
|
\rtfsp{\tt "wx/XXX/setup.h"} where XXX is the required platform (such as msw, motif, gtk, mac). Some
|
||||||
settings are a matter of taste, some help with platform-specific problems, and
|
settings are a matter of taste, some help with platform-specific problems, and
|
||||||
others can be set to minimize the size of the library. Please see the setup.h file
|
others can be set to minimize the size of the library. Please see the setup.h file
|
||||||
and {\tt install.txt} files for details on configuration.
|
and {\tt install.txt} files for details on configuration.
|
||||||
|
|
||||||
When using the 'configure' script to configure wxWindows (on Unix and other platforms where
|
When using the 'configure' script to configure wxWidgets (on Unix and other platforms where
|
||||||
configure is available), the corresponding setup.h files are generated automatically
|
configure is available), the corresponding setup.h files are generated automatically
|
||||||
along with suitable makefiles. When using the RPM packages
|
along with suitable makefiles. When using the RPM packages
|
||||||
for installing wxWindows on Linux, a correct setup.h is shipped in the package and
|
for installing wxWidgets on Linux, a correct setup.h is shipped in the package and
|
||||||
this must not be changed.
|
this must not be changed.
|
||||||
|
|
||||||
\section{Makefiles}
|
\section{Makefiles}
|
||||||
|
|
||||||
On Microsoft Windows, wxWindows has a different set of makefiles for each
|
On Microsoft Windows, wxWidgets has a different set of makefiles for each
|
||||||
compiler, because each compiler's 'make' tool is slightly different.
|
compiler, because each compiler's 'make' tool is slightly different.
|
||||||
Popular Windows compilers that we cater for, and the corresponding makefile
|
Popular Windows compilers that we cater for, and the corresponding makefile
|
||||||
extensions, include: Microsoft Visual C++ (.vc), Borland C++ (.bcc),
|
extensions, include: Microsoft Visual C++ (.vc), Borland C++ (.bcc),
|
||||||
OpenWatcom C++ (.wat) and MinGW/Cygwin (.gcc). Makefiles are provided
|
OpenWatcom C++ (.wat) and MinGW/Cygwin (.gcc). Makefiles are provided
|
||||||
for the wxWindows library itself, samples, demos, and utilities.
|
for the wxWidgets library itself, samples, demos, and utilities.
|
||||||
|
|
||||||
On Linux, Mac and OS/2, you use the 'configure' command to
|
On Linux, Mac and OS/2, you use the 'configure' command to
|
||||||
generate the necessary makefiles. You should also use this method when
|
generate the necessary makefiles. You should also use this method when
|
||||||
@@ -295,15 +295,15 @@ building with MinGW/Cygwin on Windows.
|
|||||||
|
|
||||||
We also provide project files for some compilers, such as
|
We also provide project files for some compilers, such as
|
||||||
Microsoft VC++. However, we recommend using makefiles
|
Microsoft VC++. However, we recommend using makefiles
|
||||||
to build the wxWindows library itself, because makefiles
|
to build the wxWidgets library itself, because makefiles
|
||||||
can be more powerful and less manual intervention is required.
|
can be more powerful and less manual intervention is required.
|
||||||
|
|
||||||
On Windows using a compiler other than MinGW/Cygwin, you would
|
On Windows using a compiler other than MinGW/Cygwin, you would
|
||||||
build the wxWindows library from the build/msw directory
|
build the wxWidgets library from the build/msw directory
|
||||||
which contains the relevant makefiles.
|
which contains the relevant makefiles.
|
||||||
|
|
||||||
On Windows using MinGW/Cygwin, and on Unix, MacOS X and OS/2, you invoke
|
On Windows using MinGW/Cygwin, and on Unix, MacOS X and OS/2, you invoke
|
||||||
'configure' (found in the top-level of the wxWindows source hierarchy),
|
'configure' (found in the top-level of the wxWidgets source hierarchy),
|
||||||
from within a suitable empty directory for containing makefiles, object files and
|
from within a suitable empty directory for containing makefiles, object files and
|
||||||
libraries.
|
libraries.
|
||||||
|
|
||||||
@@ -313,7 +313,7 @@ xxx is the platform of interest, such as msw, gtk, x11, mac.
|
|||||||
|
|
||||||
\section{Windows-specific files}
|
\section{Windows-specific files}
|
||||||
|
|
||||||
wxWindows application compilation under MS Windows requires at least two
|
wxWidgets application compilation under MS Windows requires at least two
|
||||||
extra files, resource and module definition files.
|
extra files, resource and module definition files.
|
||||||
|
|
||||||
\subsection{Resource file}\label{resources}
|
\subsection{Resource file}\label{resources}
|
||||||
@@ -325,7 +325,7 @@ is the following statement:
|
|||||||
#include "wx/msw/wx.rc"
|
#include "wx/msw/wx.rc"
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
which includes essential internal wxWindows definitions. The resource script
|
which includes essential internal wxWidgets definitions. The resource script
|
||||||
may also contain references to icons, cursors, etc., for example:
|
may also contain references to icons, cursors, etc., for example:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
@@ -339,7 +339,7 @@ the MS Windows SDK documentation.
|
|||||||
so programs that search your executable for icons (such
|
so programs that search your executable for icons (such
|
||||||
as the Program Manager) find your application icon first.}
|
as the Program Manager) find your application icon first.}
|
||||||
|
|
||||||
\section{Allocating and deleting wxWindows objects}
|
\section{Allocating and deleting wxWidgets objects}
|
||||||
|
|
||||||
In general, classes derived from wxWindow must dynamically allocated
|
In general, classes derived from wxWindow must dynamically allocated
|
||||||
with {\it new} and deleted with {\it delete}. If you delete a window,
|
with {\it new} and deleted with {\it delete}. If you delete a window,
|
||||||
@@ -347,7 +347,7 @@ all of its children and descendants will be automatically deleted,
|
|||||||
so you don't need to delete these descendants explicitly.
|
so you don't need to delete these descendants explicitly.
|
||||||
|
|
||||||
When deleting a frame or dialog, use {\bf Destroy} rather than {\bf delete} so
|
When deleting a frame or dialog, use {\bf Destroy} rather than {\bf delete} so
|
||||||
that the wxWindows delayed deletion can take effect. This waits until idle time
|
that the wxWidgets delayed deletion can take effect. This waits until idle time
|
||||||
(when all messages have been processed) to actually delete the window, to avoid
|
(when all messages have been processed) to actually delete the window, to avoid
|
||||||
problems associated with the GUI sending events to deleted windows.
|
problems associated with the GUI sending events to deleted windows.
|
||||||
|
|
||||||
@@ -355,8 +355,8 @@ Don't create a window on the stack, because this will interfere
|
|||||||
with delayed deletion.
|
with delayed deletion.
|
||||||
|
|
||||||
If you decide to allocate a C++ array of objects (such as wxBitmap) that may
|
If you decide to allocate a C++ array of objects (such as wxBitmap) that may
|
||||||
be cleaned up by wxWindows, make sure you delete the array explicitly
|
be cleaned up by wxWidgets, make sure you delete the array explicitly
|
||||||
before wxWindows has a chance to do so on exit, since calling {\it delete} on
|
before wxWidgets has a chance to do so on exit, since calling {\it delete} on
|
||||||
array members will cause memory problems.
|
array members will cause memory problems.
|
||||||
|
|
||||||
wxColour can be created statically: it is not automatically cleaned
|
wxColour can be created statically: it is not automatically cleaned
|
||||||
@@ -375,7 +375,7 @@ A problem which sometimes arises from writing multi-platform programs is that
|
|||||||
the basic C types are not defined the same on all platforms. This holds true
|
the basic C types are not defined the same on all platforms. This holds true
|
||||||
for both the length in bits of the standard types (such as int and long) as
|
for both the length in bits of the standard types (such as int and long) as
|
||||||
well as their byte order, which might be little endian (typically
|
well as their byte order, which might be little endian (typically
|
||||||
on Intel computers) or big endian (typically on some Unix workstations). wxWindows
|
on Intel computers) or big endian (typically on some Unix workstations). wxWidgets
|
||||||
defines types and macros that make it easy to write architecture independent
|
defines types and macros that make it easy to write architecture independent
|
||||||
code. The types are:
|
code. The types are:
|
||||||
|
|
||||||
@@ -391,7 +391,7 @@ are described in the \helpref{Byte order macros}{byteordermacros} section.
|
|||||||
|
|
||||||
\section{Conditional compilation}
|
\section{Conditional compilation}
|
||||||
|
|
||||||
One of the purposes of wxWindows is to reduce the need for conditional
|
One of the purposes of wxWidgets is to reduce the need for conditional
|
||||||
compilation in source code, which can be messy and confusing to follow.
|
compilation in source code, which can be messy and confusing to follow.
|
||||||
However, sometimes it is necessary to incorporate platform-specific
|
However, sometimes it is necessary to incorporate platform-specific
|
||||||
features (such as metafile use under MS Windows). The symbols
|
features (such as metafile use under MS Windows). The symbols
|
||||||
@@ -404,12 +404,12 @@ The following documents some miscellaneous C++ issues.
|
|||||||
|
|
||||||
\subsection{Templates}
|
\subsection{Templates}
|
||||||
|
|
||||||
wxWindows does not use templates (except for some advanced features that
|
wxWidgets does not use templates (except for some advanced features that
|
||||||
are switched off by default) since it is a notoriously unportable feature.
|
are switched off by default) since it is a notoriously unportable feature.
|
||||||
|
|
||||||
\subsection{RTTI}
|
\subsection{RTTI}
|
||||||
|
|
||||||
wxWindows does not use C++ run-time type information since wxWindows provides
|
wxWidgets does not use C++ run-time type information since wxWidgets provides
|
||||||
its own run-time type information system, implemented using macros.
|
its own run-time type information system, implemented using macros.
|
||||||
|
|
||||||
\subsection{Type of NULL}
|
\subsection{Type of NULL}
|
||||||
@@ -425,7 +425,7 @@ as
|
|||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
}%
|
}%
|
||||||
|
|
||||||
It is recommended to adhere to this in all code using wxWindows as
|
It is recommended to adhere to this in all code using wxWidgets as
|
||||||
this make the code (a bit) more portable.
|
this make the code (a bit) more portable.
|
||||||
|
|
||||||
\subsection{Precompiled headers}
|
\subsection{Precompiled headers}
|
||||||
@@ -433,8 +433,8 @@ this make the code (a bit) more portable.
|
|||||||
Some compilers, such as Borland C++ and Microsoft C++, support
|
Some compilers, such as Borland C++ and Microsoft C++, support
|
||||||
precompiled headers. This can save a great deal of compiling time. The
|
precompiled headers. This can save a great deal of compiling time. The
|
||||||
recommended approach is to precompile {\tt "wx.h"}, using this
|
recommended approach is to precompile {\tt "wx.h"}, using this
|
||||||
precompiled header for compiling both wxWindows itself and any
|
precompiled header for compiling both wxWidgets itself and any
|
||||||
wxWindows applications. For Windows compilers, two dummy source files
|
wxWidgets applications. For Windows compilers, two dummy source files
|
||||||
are provided (one for normal applications and one for creating DLLs)
|
are provided (one for normal applications and one for creating DLLs)
|
||||||
to allow initial creation of the precompiled header.
|
to allow initial creation of the precompiled header.
|
||||||
|
|
||||||
@@ -442,7 +442,7 @@ However, there are several downsides to using precompiled headers. One
|
|||||||
is that to take advantage of the facility, you often need to include
|
is that to take advantage of the facility, you often need to include
|
||||||
more header files than would normally be the case. This means that
|
more header files than would normally be the case. This means that
|
||||||
changing a header file will cause more recompilations (in the case of
|
changing a header file will cause more recompilations (in the case of
|
||||||
wxWindows, everything needs to be recompiled since everything includes {\tt "wx.h"}!)
|
wxWidgets, everything needs to be recompiled since everything includes {\tt "wx.h"}!)
|
||||||
|
|
||||||
A related problem is that for compilers that don't have precompiled
|
A related problem is that for compilers that don't have precompiled
|
||||||
headers, including a lot of header files slows down compilation
|
headers, including a lot of header files slows down compilation
|
||||||
@@ -484,33 +484,33 @@ dos2unix).
|
|||||||
See also the File Functions section of the reference manual for
|
See also the File Functions section of the reference manual for
|
||||||
descriptions of miscellaneous file handling functions.
|
descriptions of miscellaneous file handling functions.
|
||||||
|
|
||||||
\chapter{Utilities and libraries supplied with wxWindows}\label{utilities}
|
\chapter{Utilities and libraries supplied with wxWidgets}\label{utilities}
|
||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||||
|
|
||||||
In addition to the core wxWindows library, a number of further
|
In addition to the core wxWidgets library, a number of further
|
||||||
libraries and utilities are supplied with each distribution.
|
libraries and utilities are supplied with each distribution.
|
||||||
|
|
||||||
Some are under the 'contrib' hierarchy which mirrors the
|
Some are under the 'contrib' hierarchy which mirrors the
|
||||||
structure of the main wxWindows hierarchy. See also the 'utils'
|
structure of the main wxWidgets hierarchy. See also the 'utils'
|
||||||
hierarchy. The first place to look for documentation about
|
hierarchy. The first place to look for documentation about
|
||||||
these tools and libraries is under the wxWindows 'docs' hierarchy,
|
these tools and libraries is under the wxWidgets 'docs' hierarchy,
|
||||||
for example {\tt docs/htmlhelp/fl.chm}.
|
for example {\tt docs/htmlhelp/fl.chm}.
|
||||||
|
|
||||||
For other user-contributed packages, please see the Contributions page
|
For other user-contributed packages, please see the Contributions page
|
||||||
on the \urlref{wxWindows Web site}{http://www.wxwindows.org}.
|
on the \urlref{wxWidgets Web site}{http://www.wxwidgets.org}.
|
||||||
|
|
||||||
\begin{description}\itemsep=0pt
|
\begin{description}\itemsep=0pt
|
||||||
\item[{\bf Helpview}]
|
\item[{\bf Helpview}]
|
||||||
Helpview is a program for displaying wxWindows HTML
|
Helpview is a program for displaying wxWidgets HTML
|
||||||
Help files. In many cases, you may wish to use the wxWindows HTML
|
Help files. In many cases, you may wish to use the wxWidgets HTML
|
||||||
Help classes from within your application, but this provides a
|
Help classes from within your application, but this provides a
|
||||||
handy stand-alone viewer. See \helpref{wxHTML Notes}{wxhtml} for more details.
|
handy stand-alone viewer. See \helpref{wxHTML Notes}{wxhtml} for more details.
|
||||||
You can find it in {\tt samples/html/helpview}.
|
You can find it in {\tt samples/html/helpview}.
|
||||||
\item[{\bf Tex2RTF}]
|
\item[{\bf Tex2RTF}]
|
||||||
Supplied with wxWindows is a utility called Tex2RTF for converting\rtfsp
|
Supplied with wxWidgets is a utility called Tex2RTF for converting\rtfsp
|
||||||
\LaTeX\ manuals HTML, MS HTML Help, wxHTML Help, RTF, and Windows
|
\LaTeX\ manuals HTML, MS HTML Help, wxHTML Help, RTF, and Windows
|
||||||
Help RTF formats. Tex2RTF is used for the wxWindows manuals and can be used independently
|
Help RTF formats. Tex2RTF is used for the wxWidgets manuals and can be used independently
|
||||||
by authors wishing to create on-line and printed manuals from the same\rtfsp
|
by authors wishing to create on-line and printed manuals from the same\rtfsp
|
||||||
\LaTeX\ source. Please see the separate documentation for Tex2RTF.
|
\LaTeX\ source. Please see the separate documentation for Tex2RTF.
|
||||||
You can find it under {\tt utils/tex2rtf}.
|
You can find it under {\tt utils/tex2rtf}.
|
||||||
@@ -524,8 +524,8 @@ Xnest-based display emulator for X11-based PDA applications. On some
|
|||||||
systems, the Xnest window does not synchronise with the
|
systems, the Xnest window does not synchronise with the
|
||||||
'skin' window. This program can be found in {\tt utils/emulator}.
|
'skin' window. This program can be found in {\tt utils/emulator}.
|
||||||
\item[{\bf Configuration Tool}]
|
\item[{\bf Configuration Tool}]
|
||||||
The wxWindows Configuration Tool is a work in progress
|
The wxWidgets Configuration Tool is a work in progress
|
||||||
intended to make it easier to configure wxWindows
|
intended to make it easier to configure wxWidgets
|
||||||
features in detail. It exports setup.h configurations and will
|
features in detail. It exports setup.h configurations and will
|
||||||
eventually generate makefile config files. Invoking compilers is
|
eventually generate makefile config files. Invoking compilers is
|
||||||
also on the cards. Since configurations are
|
also on the cards. Since configurations are
|
||||||
@@ -572,17 +572,17 @@ You can find this in {\tt contrib/src/plot}, {\tt contrib/include/wx/plot}, and
|
|||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||||
|
|
||||||
This chapter is intended to list strategies that may be useful when
|
This chapter is intended to list strategies that may be useful when
|
||||||
writing and debugging wxWindows programs. If you have any good tips,
|
writing and debugging wxWidgets programs. If you have any good tips,
|
||||||
please submit them for inclusion here.
|
please submit them for inclusion here.
|
||||||
|
|
||||||
\section{Strategies for reducing programming errors}
|
\section{Strategies for reducing programming errors}
|
||||||
|
|
||||||
\subsection{Use ASSERT}
|
\subsection{Use ASSERT}
|
||||||
|
|
||||||
Although I haven't done this myself within wxWindows, it is good
|
Although I haven't done this myself within wxWidgets, it is good
|
||||||
practice to use ASSERT statements liberally, that check for conditions that
|
practice to use ASSERT statements liberally, that check for conditions that
|
||||||
should or should not hold, and print out appropriate error messages.
|
should or should not hold, and print out appropriate error messages.
|
||||||
These can be compiled out of a non-debugging version of wxWindows
|
These can be compiled out of a non-debugging version of wxWidgets
|
||||||
and your application. Using ASSERT is an example of `defensive programming':
|
and your application. Using ASSERT is an example of `defensive programming':
|
||||||
it can alert you to problems later on.
|
it can alert you to problems later on.
|
||||||
|
|
||||||
@@ -606,13 +606,13 @@ Don't use absolute panel item positioning if you can avoid it. Different GUIs ha
|
|||||||
very differently sized panel items. Consider using the constraint system, although this
|
very differently sized panel items. Consider using the constraint system, although this
|
||||||
can be complex to program.
|
can be complex to program.
|
||||||
|
|
||||||
Alternatively, you could use alternative .wrc (wxWindows resource files) on different
|
Alternatively, you could use alternative .wrc (wxWidgets resource files) on different
|
||||||
platforms, with slightly different dimensions in each. Or space your panel items out
|
platforms, with slightly different dimensions in each. Or space your panel items out
|
||||||
to avoid problems.
|
to avoid problems.
|
||||||
|
|
||||||
\subsection{Use wxWindows resource files}
|
\subsection{Use wxWidgets resource files}
|
||||||
|
|
||||||
Use .xrc (wxWindows resource files) where possible, because they can be easily changed
|
Use .xrc (wxWidgets resource files) where possible, because they can be easily changed
|
||||||
independently of source code.
|
independently of source code.
|
||||||
|
|
||||||
\section{Strategies for debugging}\label{debugstrategies}
|
\section{Strategies for debugging}\label{debugstrategies}
|
||||||
@@ -660,11 +660,11 @@ Using tracing statements may be more convenient than using the debugger
|
|||||||
in some circumstances (such as when your debugger doesn't support a lot
|
in some circumstances (such as when your debugger doesn't support a lot
|
||||||
of debugging code, or you wish to print a bunch of variables).
|
of debugging code, or you wish to print a bunch of variables).
|
||||||
|
|
||||||
\subsection{Use the wxWindows debugging facilities}
|
\subsection{Use the wxWidgets debugging facilities}
|
||||||
|
|
||||||
You can use wxDebugContext to check for
|
You can use wxDebugContext to check for
|
||||||
memory leaks and corrupt memory: in fact in debugging mode, wxWindows will
|
memory leaks and corrupt memory: in fact in debugging mode, wxWidgets will
|
||||||
automatically check for memory leaks at the end of the program if wxWindows is suitably
|
automatically check for memory leaks at the end of the program if wxWidgets is suitably
|
||||||
configured. Depending on the operating system and compiler, more or less
|
configured. Depending on the operating system and compiler, more or less
|
||||||
specific information about the problem will be logged.
|
specific information about the problem will be logged.
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ wxRED\_BRUSH}
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
On a monochrome display, wxWindows shows
|
On a monochrome display, wxWidgets shows
|
||||||
all brushes as white unless the colour is really black.
|
all brushes as white unless the colour is really black.
|
||||||
|
|
||||||
Do not initialize objects on the stack before the program commences,
|
Do not initialize objects on the stack before the program commences,
|
||||||
@@ -130,7 +130,7 @@ system, since wxBrush uses a reference counting system for efficiency.
|
|||||||
|
|
||||||
Although all remaining brushes are deleted when the application exits,
|
Although all remaining brushes are deleted when the application exits,
|
||||||
the application should try to clean up all brushes itself. This is because
|
the application should try to clean up all brushes itself. This is because
|
||||||
wxWindows cannot know if a pointer to the brush object is stored in an
|
wxWidgets cannot know if a pointer to the brush object is stored in an
|
||||||
application data structure, and there is a risk of double deletion.
|
application data structure, and there is a risk of double deletion.
|
||||||
|
|
||||||
\membersection{wxBrush::GetColour}\label{wxbrushgetcolour}
|
\membersection{wxBrush::GetColour}\label{wxbrushgetcolour}
|
||||||
@@ -304,7 +304,7 @@ be deleted and their resources freed, eliminating the possibility of
|
|||||||
`memory leaks'. However, it is best not to rely on this automatic
|
`memory leaks'. However, it is best not to rely on this automatic
|
||||||
cleanup because it can lead to double deletion in some circumstances.
|
cleanup because it can lead to double deletion in some circumstances.
|
||||||
|
|
||||||
There are two mechanisms in recent versions of wxWindows which make the
|
There are two mechanisms in recent versions of wxWidgets which make the
|
||||||
brush list less useful than it once was. Under Windows, scarce resources
|
brush list less useful than it once was. Under Windows, scarce resources
|
||||||
are cleaned up internally if they are not being used. Also, a referencing
|
are cleaned up internally if they are not being used. Also, a referencing
|
||||||
counting mechanism applied to all GDI objects means that some sharing
|
counting mechanism applied to all GDI objects means that some sharing
|
||||||
@@ -318,9 +318,9 @@ and copy brushes as you see fit. If your Windows resource meter suggests
|
|||||||
your application is using too many resources, you can resort to using
|
your application is using too many resources, you can resort to using
|
||||||
GDI lists to share objects explicitly.
|
GDI lists to share objects explicitly.
|
||||||
|
|
||||||
The only compelling use for the brush list is for wxWindows to keep
|
The only compelling use for the brush list is for wxWidgets to keep
|
||||||
track of brushes in order to clean them up on exit. It is also kept for
|
track of brushes in order to clean them up on exit. It is also kept for
|
||||||
backward compatibility with earlier versions of wxWindows.
|
backward compatibility with earlier versions of wxWidgets.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
@@ -339,7 +339,7 @@ use the object pointer {\bf wxTheBrushList}.
|
|||||||
|
|
||||||
\func{void}{AddBrush}{\param{wxBrush *}{brush}}
|
\func{void}{AddBrush}{\param{wxBrush *}{brush}}
|
||||||
|
|
||||||
Used internally by wxWindows to add a brush to the list.
|
Used internally by wxWidgets to add a brush to the list.
|
||||||
|
|
||||||
\membersection{wxBrushList::FindOrCreateBrush}\label{wxbrushlistfindorcreatebrush}
|
\membersection{wxBrushList::FindOrCreateBrush}\label{wxbrushlistfindorcreatebrush}
|
||||||
|
|
||||||
@@ -367,6 +367,6 @@ Finds a brush of the given specification, or creates one and adds it to the list
|
|||||||
|
|
||||||
\func{void}{RemoveBrush}{\param{wxBrush *}{brush}}
|
\func{void}{RemoveBrush}{\param{wxBrush *}{brush}}
|
||||||
|
|
||||||
Used by wxWindows to remove a brush from the list.
|
Used by wxWidgets to remove a brush from the list.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 07.02.04
|
%% Created: 07.02.04
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2004 Vadim Zeitlin
|
%% Copyright: (c) 2004 Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxBufferedDC}}\label{wxbuffereddc}
|
\section{\class{wxBufferedDC}}\label{wxbuffereddc}
|
||||||
|
@@ -134,7 +134,7 @@ Note that under Motif, calling this function immediately after
|
|||||||
creation of a button and before the creation of other buttons
|
creation of a button and before the creation of other buttons
|
||||||
will cause misalignment of the row of buttons, since default
|
will cause misalignment of the row of buttons, since default
|
||||||
buttons are larger. To get around this, call {\it SetDefault}\rtfsp
|
buttons are larger. To get around this, call {\it SetDefault}\rtfsp
|
||||||
after you have created a row of buttons: wxWindows will
|
after you have created a row of buttons: wxWidgets will
|
||||||
then set the size of all buttons currently on the panel to
|
then set the size of all buttons currently on the panel to
|
||||||
the same size.
|
the same size.
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 03.01.00
|
%% Created: 03.01.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxCalendarCtrl}}\label{wxcalendarctrl}
|
\section{\class{wxCalendarCtrl}}\label{wxcalendarctrl}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 20.06.00
|
%% Created: 20.06.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxCaret}}\label{wxcaret}
|
\section{\class{wxCaret}}\label{wxcaret}
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||||
|
|
||||||
A classification of wxWindows classes by category.
|
A classification of wxWidgets classes by category.
|
||||||
|
|
||||||
{\large {\bf Managed windows}}
|
{\large {\bf Managed windows}}
|
||||||
|
|
||||||
@@ -267,7 +267,7 @@ user input.
|
|||||||
|
|
||||||
{\large {\bf Data structures}}
|
{\large {\bf Data structures}}
|
||||||
|
|
||||||
These are the data structure classes supported by wxWindows.
|
These are the data structure classes supported by wxWidgets.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
\begin{twocollist}\itemsep=0pt
|
\begin{twocollist}\itemsep=0pt
|
||||||
@@ -282,7 +282,7 @@ These are the data structure classes supported by wxWindows.
|
|||||||
\twocolitem{\helpref{wxList}{wxlist}}{A simple linked list implementation}
|
\twocolitem{\helpref{wxList}{wxlist}}{A simple linked list implementation}
|
||||||
\twocolitem{\helpref{wxLongLong}{wxlonglong}}{A portable 64 bit integer type}
|
\twocolitem{\helpref{wxLongLong}{wxlonglong}}{A portable 64 bit integer type}
|
||||||
\twocolitem{\helpref{wxNode}{wxnode}}{Represents a node in the wxList implementation}
|
\twocolitem{\helpref{wxNode}{wxnode}}{Represents a node in the wxList implementation}
|
||||||
\twocolitem{\helpref{wxObject}{wxobject}}{The root class for most wxWindows classes}
|
\twocolitem{\helpref{wxObject}{wxobject}}{The root class for most wxWidgets classes}
|
||||||
\twocolitem{\helpref{wxPathList}{wxpathlist}}{A class to help search multiple paths}
|
\twocolitem{\helpref{wxPathList}{wxpathlist}}{A class to help search multiple paths}
|
||||||
\twocolitem{\helpref{wxPoint}{wxpoint}}{Representation of a point}
|
\twocolitem{\helpref{wxPoint}{wxpoint}}{Representation of a point}
|
||||||
\twocolitem{\helpref{wxRect}{wxrect}}{A class representing a rectangle}
|
\twocolitem{\helpref{wxRect}{wxrect}}{A class representing a rectangle}
|
||||||
@@ -301,7 +301,7 @@ These are the data structure classes supported by wxWindows.
|
|||||||
|
|
||||||
\overview{Overview}{runtimeclassoverview}
|
\overview{Overview}{runtimeclassoverview}
|
||||||
|
|
||||||
wxWindows supports run-time manipulation of class information, and dynamic
|
wxWidgets supports run-time manipulation of class information, and dynamic
|
||||||
creation of objects given class names.
|
creation of objects given class names.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -315,7 +315,7 @@ creation of objects given class names.
|
|||||||
|
|
||||||
\overview{Overview}{wxlogoverview}
|
\overview{Overview}{wxlogoverview}
|
||||||
|
|
||||||
wxWindows provides several classes and functions for message logging.
|
wxWidgets provides several classes and functions for message logging.
|
||||||
Please see the \helpref{wxLog overview}{wxlogoverview} for more details.
|
Please see the \helpref{wxLog overview}{wxlogoverview} for more details.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -338,7 +338,7 @@ to redirect output sent to {\tt cout} to a \helpref{wxTextCtrl}{wxtextctrl}}
|
|||||||
|
|
||||||
\overview{Overview}{debuggingoverview}
|
\overview{Overview}{debuggingoverview}
|
||||||
|
|
||||||
wxWindows supports some aspects of debugging an application through
|
wxWidgets supports some aspects of debugging an application through
|
||||||
classes, functions and macros.
|
classes, functions and macros.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -353,7 +353,7 @@ classes, functions and macros.
|
|||||||
|
|
||||||
{\large {\bf Networking classes}}
|
{\large {\bf Networking classes}}
|
||||||
|
|
||||||
wxWindows provides its own classes for socket based networking.
|
wxWidgets provides its own classes for socket based networking.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
\begin{twocollist}\itemsep=0pt
|
\begin{twocollist}\itemsep=0pt
|
||||||
@@ -374,7 +374,7 @@ wxWindows provides its own classes for socket based networking.
|
|||||||
|
|
||||||
\overview{Overview}{ipcoverview}
|
\overview{Overview}{ipcoverview}
|
||||||
|
|
||||||
wxWindows provides simple interprocess communications facilities
|
wxWidgets provides simple interprocess communications facilities
|
||||||
based on Windows DDE, but available on most platforms using TCP.
|
based on Windows DDE, but available on most platforms using TCP.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -389,7 +389,7 @@ based on Windows DDE, but available on most platforms using TCP.
|
|||||||
|
|
||||||
\overview{Overview}{docviewoverview}
|
\overview{Overview}{docviewoverview}
|
||||||
|
|
||||||
wxWindows supports a document/view framework which provides
|
wxWidgets supports a document/view framework which provides
|
||||||
housekeeping for a document-centric application.
|
housekeeping for a document-centric application.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -449,7 +449,7 @@ facilities.
|
|||||||
|
|
||||||
{\large {\bf File related classes}}
|
{\large {\bf File related classes}}
|
||||||
|
|
||||||
wxWindows has several small classes to work with disk files, see \helpref{file classes
|
wxWidgets has several small classes to work with disk files, see \helpref{file classes
|
||||||
overview}{wxfileoverview} for more details.
|
overview}{wxfileoverview} for more details.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -465,7 +465,7 @@ overview}{wxfileoverview} for more details.
|
|||||||
|
|
||||||
{\large {\bf Stream classes}}
|
{\large {\bf Stream classes}}
|
||||||
|
|
||||||
wxWindows has its own set of stream classes, as an alternative to often buggy standard stream
|
wxWidgets has its own set of stream classes, as an alternative to often buggy standard stream
|
||||||
libraries, and to provide enhanced functionality.
|
libraries, and to provide enhanced functionality.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -500,7 +500,7 @@ libraries, and to provide enhanced functionality.
|
|||||||
|
|
||||||
\overview{Multithreading overview}{wxthreadoverview}
|
\overview{Multithreading overview}{wxthreadoverview}
|
||||||
|
|
||||||
wxWindows provides a set of classes to make use of the native thread
|
wxWidgets provides a set of classes to make use of the native thread
|
||||||
capabilities of the various platforms.
|
capabilities of the various platforms.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -517,7 +517,7 @@ capabilities of the various platforms.
|
|||||||
|
|
||||||
{\large {\bf HTML classes}}
|
{\large {\bf HTML classes}}
|
||||||
|
|
||||||
wxWindows provides a set of classes to display text in HTML format. These
|
wxWidgets provides a set of classes to display text in HTML format. These
|
||||||
class include a help system based on the HTML widget.
|
class include a help system based on the HTML widget.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -534,7 +534,7 @@ class include a help system based on the HTML widget.
|
|||||||
|
|
||||||
{\large {\bf Virtual file system classes}}
|
{\large {\bf Virtual file system classes}}
|
||||||
|
|
||||||
wxWindows provides a set of classes that implement an extensible virtual file system,
|
wxWidgets provides a set of classes that implement an extensible virtual file system,
|
||||||
used internally by the HTML classes.
|
used internally by the HTML classes.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
@@ -575,7 +575,7 @@ from specifications stored in an XML format.
|
|||||||
|
|
||||||
\overview{Database classes overview}{odbcoverview}
|
\overview{Database classes overview}{odbcoverview}
|
||||||
|
|
||||||
wxWindows provides a set of classes for accessing Microsoft's ODBC (Open Database Connectivity)
|
wxWidgets provides a set of classes for accessing Microsoft's ODBC (Open Database Connectivity)
|
||||||
product, donated by Remstar. This is known as wxODBC.
|
product, donated by Remstar. This is known as wxODBC.
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
\twocolwidtha{6cm}
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
A checklistbox is like a listbox, but allows items to be checked or unchecked.
|
A checklistbox is like a listbox, but allows items to be checked or unchecked.
|
||||||
|
|
||||||
This class is currently implemented under Windows and GTK. When using this
|
This class is currently implemented under Windows and GTK. When using this
|
||||||
class under Windows wxWindows must be compiled with USE\_OWNER\_DRAWN set to 1.
|
class under Windows wxWidgets must be compiled with USE\_OWNER\_DRAWN set to 1.
|
||||||
|
|
||||||
Only the new functions for this class are documented; see also \helpref{wxListBox}{wxlistbox}.
|
Only the new functions for this class are documented; see also \helpref{wxListBox}{wxlistbox}.
|
||||||
|
|
||||||
|
@@ -68,7 +68,7 @@ Returns the size of the class.
|
|||||||
\func{static void}{InitializeClasses}{\void}
|
\func{static void}{InitializeClasses}{\void}
|
||||||
|
|
||||||
Initializes pointers in the wxClassInfo objects for fast execution
|
Initializes pointers in the wxClassInfo objects for fast execution
|
||||||
of IsKindOf. Called in base wxWindows library initialization.
|
of IsKindOf. Called in base wxWidgets library initialization.
|
||||||
|
|
||||||
\membersection{wxClassInfo::IsKindOf}\label{wxclassinfoiskindof}
|
\membersection{wxClassInfo::IsKindOf}\label{wxclassinfoiskindof}
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ All classes deriving from \helpref{wxEvtHandler}{wxevthandler}
|
|||||||
(such as all controls and \helpref{wxApp}{wxapp})
|
(such as all controls and \helpref{wxApp}{wxapp})
|
||||||
can hold arbitrary data which is here referred to as "client data".
|
can hold arbitrary data which is here referred to as "client data".
|
||||||
This is useful e.g. for scripting languages which need to handle
|
This is useful e.g. for scripting languages which need to handle
|
||||||
shadow objects for most of wxWindows' classes and which store
|
shadow objects for most of wxWidgets' classes and which store
|
||||||
a handle to such a shadow class as client data in that class.
|
a handle to such a shadow class as client data in that class.
|
||||||
This data can either be of type void - in which case the data
|
This data can either be of type void - in which case the data
|
||||||
{\it container} does not take care of freeing the data again
|
{\it container} does not take care of freeing the data again
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
\section{\class{wxClipboard}}\label{wxclipboard}
|
\section{\class{wxClipboard}}\label{wxclipboard}
|
||||||
|
|
||||||
A class for manipulating the clipboard. Note that this is not compatible with the
|
A class for manipulating the clipboard. Note that this is not compatible with the
|
||||||
clipboard class from wxWindows 1.xx, which has the same name but a different implementation.
|
clipboard class from wxWidgets 1.xx, which has the same name but a different implementation.
|
||||||
|
|
||||||
To use the clipboard, you call member functions of the global {\bf wxTheClipboard} object.
|
To use the clipboard, you call member functions of the global {\bf wxTheClipboard} object.
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 27.03.00
|
%% Created: 27.03.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxCmdLineParser}}\label{wxcmdlineparser}
|
\section{\class{wxCmdLineParser}}\label{wxcmdlineparser}
|
||||||
@@ -215,7 +215,7 @@ terminate after this) or a positive number if there was an error during the
|
|||||||
command line parsing.
|
command line parsing.
|
||||||
|
|
||||||
In the latter case, the appropriate error message and usage information are
|
In the latter case, the appropriate error message and usage information are
|
||||||
logged by wxCmdLineParser itself using the standard wxWindows logging functions.
|
logged by wxCmdLineParser itself using the standard wxWidgets logging functions.
|
||||||
|
|
||||||
\membersection{Getting results}\label{wxcmdlineparsergettingresults}
|
\membersection{Getting results}\label{wxcmdlineparsergettingresults}
|
||||||
|
|
||||||
|
@@ -261,7 +261,7 @@ Assignment operator for the colour data.
|
|||||||
|
|
||||||
\section{\class{wxColourDatabase}}\label{wxcolourdatabase}
|
\section{\class{wxColourDatabase}}\label{wxcolourdatabase}
|
||||||
|
|
||||||
wxWindows maintains a database of standard RGB colours for a predefined
|
wxWidgets maintains a database of standard RGB colours for a predefined
|
||||||
set of named colours (such as ``BLACK'', ``LIGHT GREY''). The
|
set of named colours (such as ``BLACK'', ``LIGHT GREY''). The
|
||||||
application may add to this set if desired by using
|
application may add to this set if desired by using
|
||||||
\helpref{AddColour}{wxcolourdatabaseaddcolour} and may use it to look up
|
\helpref{AddColour}{wxcolourdatabaseaddcolour} and may use it to look up
|
||||||
@@ -320,7 +320,7 @@ Adds a colour to the database. If a colour with the same name already exists,
|
|||||||
it is replaced.
|
it is replaced.
|
||||||
|
|
||||||
Please note that the overload taking a pointer is deprecated and will be
|
Please note that the overload taking a pointer is deprecated and will be
|
||||||
removed in the next wxWindows version, please don't use it.
|
removed in the next wxWidgets version, please don't use it.
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxColourDatabase::Find}\label{wxcolourdatabasefind}
|
\membersection{wxColourDatabase::Find}\label{wxcolourdatabasefind}
|
||||||
@@ -340,7 +340,7 @@ Finds a colour given the name. Returns \tt{NULL} if not found or a pointer which
|
|||||||
must be deleted by the caller otherwise.
|
must be deleted by the caller otherwise.
|
||||||
|
|
||||||
Please note that this method is deprecated and will be removed in the next
|
Please note that this method is deprecated and will be removed in the next
|
||||||
wxWindows version, please use \helpref{Find}{wxcolourdatabasefind} instead of
|
wxWidgets version, please use \helpref{Find}{wxcolourdatabasefind} instead of
|
||||||
it.
|
it.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ you're working with but you would just use the wxConfigBase methods. This
|
|||||||
allows you to write the same code regardless of whether you're working with
|
allows you to write the same code regardless of whether you're working with
|
||||||
the registry under Win32 or text-based config files under Unix (or even
|
the registry under Win32 or text-based config files under Unix (or even
|
||||||
Windows 3.1 .INI files if you're really unlucky). To make writing the portable
|
Windows 3.1 .INI files if you're really unlucky). To make writing the portable
|
||||||
code even easier, wxWindows provides a typedef wxConfig
|
code even easier, wxWidgets provides a typedef wxConfig
|
||||||
which is mapped onto the native wxConfigBase implementation on the given
|
which is mapped onto the native wxConfigBase implementation on the given
|
||||||
platform: i.e. wxRegConfig under Win32 (optionally wxIniConfig) and
|
platform: i.e. wxRegConfig under Win32 (optionally wxIniConfig) and
|
||||||
wxFileConfig otherwise.
|
wxFileConfig otherwise.
|
||||||
@@ -26,7 +26,7 @@ No base class
|
|||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
|
|
||||||
<wx/config.h> (to let wxWindows choose a wxConfig class for your platform)\\
|
<wx/config.h> (to let wxWidgets choose a wxConfig class for your platform)\\
|
||||||
<wx/confbase.h> (base config class)\\
|
<wx/confbase.h> (base config class)\\
|
||||||
<wx/fileconf.h> (wxFileConfig class)\\
|
<wx/fileconf.h> (wxFileConfig class)\\
|
||||||
<wx/msw/regconf.h> (wxRegConfig class)\\
|
<wx/msw/regconf.h> (wxRegConfig class)\\
|
||||||
@@ -88,14 +88,14 @@ consuming operation). In this case, you may create this global config object
|
|||||||
in the very start of the program and {\it Set()} it as the default. Then, from
|
in the very start of the program and {\it Set()} it as the default. Then, from
|
||||||
anywhere in your program, you may access it using the {\it Get()} function.
|
anywhere in your program, you may access it using the {\it Get()} function.
|
||||||
Note that you must delete this object (usually in \helpref{wxApp::OnExit}{wxapponexit})
|
Note that you must delete this object (usually in \helpref{wxApp::OnExit}{wxapponexit})
|
||||||
in order to avoid memory leaks, wxWindows won't do it automatically.
|
in order to avoid memory leaks, wxWidgets won't do it automatically.
|
||||||
|
|
||||||
As it happens, you may even further simplify the procedure described above:
|
As it happens, you may even further simplify the procedure described above:
|
||||||
you may forget about calling {\it Set()}. When {\it Get()} is called and there
|
you may forget about calling {\it Set()}. When {\it Get()} is called and there
|
||||||
is no current object, it will create one using {\it Create()} function. To
|
is no current object, it will create one using {\it Create()} function. To
|
||||||
disable this behaviour {\it DontCreateOnDemand()} is provided.
|
disable this behaviour {\it DontCreateOnDemand()} is provided.
|
||||||
|
|
||||||
{\bf Note:} You should use either {\it Set()} or {\it Get()} because wxWindows
|
{\bf Note:} You should use either {\it Set()} or {\it Get()} because wxWidgets
|
||||||
library itself would take advantage of it and could save various information
|
library itself would take advantage of it and could save various information
|
||||||
in it. For example \helpref{wxFontMapper}{wxfontmapper} or Unix version
|
in it. For example \helpref{wxFontMapper}{wxfontmapper} or Unix version
|
||||||
of \helpref{wxFileDialog}{wxfiledialog} have ability to use wxConfig class.
|
of \helpref{wxFileDialog}{wxfiledialog} have ability to use wxConfig class.
|
||||||
@@ -376,7 +376,7 @@ a {\it foo} key with some backslash characters will be stored as {\tt foo=C:$\ba
|
|||||||
of the usual storage of {\tt foo=C:$\backslash\backslash$mydir}.
|
of the usual storage of {\tt foo=C:$\backslash\backslash$mydir}.
|
||||||
|
|
||||||
The wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style can be helpful if your config
|
The wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style can be helpful if your config
|
||||||
file must be read or written to by a non-wxWindows program (which might not
|
file must be read or written to by a non-wxWidgets program (which might not
|
||||||
understand the escape characters). Note, however, that if
|
understand the escape characters). Note, however, that if
|
||||||
wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style is used, it is is now
|
wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style is used, it is is now
|
||||||
your application's responsibility to ensure that there is no newline or
|
your application's responsibility to ensure that there is no newline or
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
This chapter describes the constants defined by wxWindows.
|
This chapter describes the constants defined by wxWidgets.
|
||||||
|
|
||||||
\input cppconst.tex
|
\input cppconst.tex
|
||||||
\input stdevtid.tex
|
\input stdevtid.tex
|
||||||
|
@@ -1,13 +1,13 @@
|
|||||||
\section{Preprocesser symbols defined by wxWindows}\label{cppconst}
|
\section{Preprocesser symbols defined by wxWidgets}\label{cppconst}
|
||||||
|
|
||||||
Here is the list of preprocessor symbols used in the wxWindows source grouped
|
Here is the list of preprocessor symbols used in the wxWidgets source grouped
|
||||||
by category (and sorted by alphabetical order inside each category).
|
by category (and sorted by alphabetical order inside each category).
|
||||||
|
|
||||||
\subsection{GUI system}
|
\subsection{GUI system}
|
||||||
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
\begin{twocollist}\itemsep=0pt
|
||||||
\twocolitem{\_\_WINDOWS\_\_}{any Windows, yom may also use \_\_WXMSW\_\_}
|
\twocolitem{\_\_WINDOWS\_\_}{any Windows, yom may also use \_\_WXMSW\_\_}
|
||||||
\twocolitem{\_\_WIN16\_\_}{Win16 API (not supported since wxWindows 2.6)}
|
\twocolitem{\_\_WIN16\_\_}{Win16 API (not supported since wxWidgets 2.6)}
|
||||||
\twocolitem{\_\_WIN32\_\_}{Win32 API}
|
\twocolitem{\_\_WIN32\_\_}{Win32 API}
|
||||||
\twocolitem{\_\_WIN95\_\_}{Windows 95 or NT 4.0 and above system (not NT 3.5x)}
|
\twocolitem{\_\_WIN95\_\_}{Windows 95 or NT 4.0 and above system (not NT 3.5x)}
|
||||||
\twocolitem{\_\_WXBASE\_\_}{Only wxBase, no GUI features}
|
\twocolitem{\_\_WXBASE\_\_}{Only wxBase, no GUI features}
|
||||||
@@ -26,7 +26,7 @@ defined)}
|
|||||||
\twocolitem{\_\_WXPM\_\_}{OS/2 native Presentation Manager}
|
\twocolitem{\_\_WXPM\_\_}{OS/2 native Presentation Manager}
|
||||||
\twocolitem{\_\_WXSTUBS\_\_}{Stubbed version ('template' wxWin implementation)}
|
\twocolitem{\_\_WXSTUBS\_\_}{Stubbed version ('template' wxWin implementation)}
|
||||||
\twocolitem{\_\_WXXT\_\_}{Xt; mutually exclusive with WX\_MOTIF, not
|
\twocolitem{\_\_WXXT\_\_}{Xt; mutually exclusive with WX\_MOTIF, not
|
||||||
implemented in wxWindows 2.x}
|
implemented in wxWidgets 2.x}
|
||||||
\twocolitem{\_\_WXX11\_\_}{wxX11 (\_\_WXUNIVERSAL\_\_ will be also defined)}
|
\twocolitem{\_\_WXX11\_\_}{wxX11 (\_\_WXUNIVERSAL\_\_ will be also defined)}
|
||||||
\twocolitem{\_\_WXWINE\_\_}{WINE (i.e. WIN32 on Unix)}
|
\twocolitem{\_\_WXWINE\_\_}{WINE (i.e. WIN32 on Unix)}
|
||||||
\twocolitem{\_\_WXUNIVERSAL\_\_}{wxUniversal port, always defined in addition
|
\twocolitem{\_\_WXUNIVERSAL\_\_}{wxUniversal port, always defined in addition
|
||||||
@@ -105,7 +105,7 @@ the compiler version, $1100$ is $11.0$ and $1200$ is OpenWatcom.}
|
|||||||
\subsection{Miscellaneous}
|
\subsection{Miscellaneous}
|
||||||
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
\begin{twocollist}\itemsep=0pt
|
||||||
\twocolitem{\_\_WXWINDOWS\_\_}{always defined in wxWindows applications, see
|
\twocolitem{\_\_WXWINDOWS\_\_}{always defined in wxWidgets applications, see
|
||||||
also \helpref{wxCHECK\_VERSION}{wxcheckversion}}
|
also \helpref{wxCHECK\_VERSION}{wxcheckversion}}
|
||||||
\twocolitem{\_\_WXDEBUG\_\_}{defined in debug mode, undefined in release mode}
|
\twocolitem{\_\_WXDEBUG\_\_}{defined in debug mode, undefined in release mode}
|
||||||
\twocolitem{wxUSE\_XXX}{if defined as $1$, feature XXX is active
|
\twocolitem{wxUSE\_XXX}{if defined as $1$, feature XXX is active
|
||||||
@@ -114,8 +114,8 @@ also \helpref{wxCHECK\_VERSION}{wxcheckversion}}
|
|||||||
\twocolitem{wxUSE\_GUI}{this particular feature test macro is defined to $1$
|
\twocolitem{wxUSE\_GUI}{this particular feature test macro is defined to $1$
|
||||||
when compiling or using the library with the GUI features activated, if it is
|
when compiling or using the library with the GUI features activated, if it is
|
||||||
defined as $0$, only wxBase is available.}
|
defined as $0$, only wxBase is available.}
|
||||||
\twocolitem{wxUSE\_BASE}{only used by wxWindows internally (defined as $1$ when
|
\twocolitem{wxUSE\_BASE}{only used by wxWidgets internally (defined as $1$ when
|
||||||
building wxBase code, either as a standalone library or as part of the
|
building wxBase code, either as a standalone library or as part of the
|
||||||
monolithic wxWindows library, defined as $0$ when building GUI library only)}
|
monolithic wxWidgets library, defined as $0$ when building GUI library only)}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
|
@@ -6,12 +6,12 @@
|
|||||||
%% Created: 01.01.03
|
%% Created: 01.01.03
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2003 Vadim Zeitlin
|
%% Copyright: (c) 2003 Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxControlWithItems}}\label{wxcontrolwithitems}
|
\section{\class{wxControlWithItems}}\label{wxcontrolwithitems}
|
||||||
|
|
||||||
This class is an abstract base class for some wxWindows controls which contain
|
This class is an abstract base class for some wxWidgets controls which contain
|
||||||
several items, such as \helpref{wxListBox}{wxlistbox} and
|
several items, such as \helpref{wxListBox}{wxlistbox} and
|
||||||
\helpref{wxCheckListBox}{wxchecklistbox} derived from it,
|
\helpref{wxCheckListBox}{wxchecklistbox} derived from it,
|
||||||
\helpref{wxChoice}{wxchoice} and \helpref{wxComboBox}{wxcombobox}.
|
\helpref{wxChoice}{wxchoice} and \helpref{wxComboBox}{wxcombobox}.
|
||||||
@@ -264,7 +264,7 @@ Returns {\tt true} if the control is empty or {\tt false} if it has some items.
|
|||||||
|
|
||||||
{\bf Obsolescence note:} This method is obsolete and was replaced with
|
{\bf Obsolescence note:} This method is obsolete and was replaced with
|
||||||
\helpref{GetCount}{wxcontrolwithitemsgetcount}, please use the new method in
|
\helpref{GetCount}{wxcontrolwithitemsgetcount}, please use the new method in
|
||||||
the new code. This method is only available if wxWindows was compiled with
|
the new code. This method is only available if wxWidgets was compiled with
|
||||||
{\tt WXWIN\_COMPATIBILITY\_2\_2} defined and will disappear completely in
|
{\tt WXWIN\_COMPATIBILITY\_2\_2} defined and will disappear completely in
|
||||||
future versions.
|
future versions.
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ conditional compilation will probably be required (see \helpref{wxIcon}{wxicon}
|
|||||||
an example).
|
an example).
|
||||||
|
|
||||||
A single cursor object may be used in many windows (any subwindow type).
|
A single cursor object may be used in many windows (any subwindow type).
|
||||||
The wxWindows convention is to set the cursor for a window, as in X,
|
The wxWidgets convention is to set the cursor for a window, as in X,
|
||||||
rather than to set it globally as in MS Windows, although a
|
rather than to set it globally as in MS Windows, although a
|
||||||
global \helpref{::wxSetCursor}{wxsetcursor} is also available for MS Windows use.
|
global \helpref{::wxSetCursor}{wxsetcursor} is also available for MS Windows use.
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@ wxCursor down_cursor = wxCursor(down_bits, 32, 32,
|
|||||||
|
|
||||||
Destroys the cursor. A cursor can be reused for more
|
Destroys the cursor. A cursor can be reused for more
|
||||||
than one window, and does not get destroyed when the window is
|
than one window, and does not get destroyed when the window is
|
||||||
destroyed. wxWindows destroys all cursors on application exit, although
|
destroyed. wxWidgets destroys all cursors on application exit, although
|
||||||
it is best to clean them up explicitly.
|
it is best to clean them up explicitly.
|
||||||
|
|
||||||
\membersection{wxCursor::Ok}\label{wxcursorok}
|
\membersection{wxCursor::Ok}\label{wxcursorok}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 03.11.99
|
%% Created: 03.11.99
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDataFormat}}\label{wxdataformat}
|
\section{\class{wxDataFormat}}\label{wxdataformat}
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
%% Modified by:
|
%% Modified by:
|
||||||
%% Created: 18.10.99
|
%% Created: 18.10.99
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) wxWindows team
|
%% Copyright: (c) wxWidgets team
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDataObject}}\label{wxdataobject}
|
\section{\class{wxDataObject}}\label{wxdataobject}
|
||||||
@@ -41,7 +41,7 @@ reasonable for the situations when you really need to support multiple formats,
|
|||||||
but may be annoying if you only want to do something simple like cut and paste
|
but may be annoying if you only want to do something simple like cut and paste
|
||||||
text.
|
text.
|
||||||
|
|
||||||
To provide a solution for both cases, wxWindows has two predefined classes
|
To provide a solution for both cases, wxWidgets has two predefined classes
|
||||||
which derive from wxDataObject: \helpref{wxDataObjectSimple}{wxdataobjectsimple} and
|
which derive from wxDataObject: \helpref{wxDataObjectSimple}{wxdataobjectsimple} and
|
||||||
\helpref{wxDataObjectComposite}{wxdataobjectcomposite}.
|
\helpref{wxDataObjectComposite}{wxdataobjectcomposite}.
|
||||||
\helpref{wxDataObjectSimple}{wxdataobjectsimple} is
|
\helpref{wxDataObjectSimple}{wxdataobjectsimple} is
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 04.04.00
|
%% Created: 04.04.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDateSpan}}\label{wxdatespan}
|
\section{\class{wxDateSpan}}\label{wxdatespan}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 07.03.00
|
%% Created: 07.03.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDateTime}}\label{wxdatetime}
|
\section{\class{wxDateTime}}\label{wxdatetime}
|
||||||
@@ -1112,7 +1112,7 @@ the character which stopped the scan.
|
|||||||
This function does the same as the standard ANSI C {\tt strftime(3)} function.
|
This function does the same as the standard ANSI C {\tt strftime(3)} function.
|
||||||
Please see its description for the meaning of {\it format} parameter.
|
Please see its description for the meaning of {\it format} parameter.
|
||||||
|
|
||||||
It also accepts a few wxWindows-specific extensions: you can optionally specify
|
It also accepts a few wxWidgets-specific extensions: you can optionally specify
|
||||||
the width of the field to follow using {\tt printf(3)}-like syntax and the
|
the width of the field to follow using {\tt printf(3)}-like syntax and the
|
||||||
format specification {\tt \%l} can be used to get the number of milliseconds.
|
format specification {\tt \%l} can be used to get the number of milliseconds.
|
||||||
|
|
||||||
|
@@ -46,7 +46,7 @@ None
|
|||||||
\func{}{wxDataInputStream}{\param{wxInputStream\&}{ stream}, \param{wxMBConv\&}{ conv = wxMBConvUTF8}}
|
\func{}{wxDataInputStream}{\param{wxInputStream\&}{ stream}, \param{wxMBConv\&}{ conv = wxMBConvUTF8}}
|
||||||
|
|
||||||
Constructs a datastream object from an input stream. Only read methods will
|
Constructs a datastream object from an input stream. Only read methods will
|
||||||
be available. The second form is only available in Unicode build of wxWindows.
|
be available. The second form is only available in Unicode build of wxWidgets.
|
||||||
|
|
||||||
\wxheading{Parameters}
|
\wxheading{Parameters}
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ Reads a string from a stream. Actually, this function first reads a long
|
|||||||
integer specifying the length of the string (without the last null character)
|
integer specifying the length of the string (without the last null character)
|
||||||
and then reads the string.
|
and then reads the string.
|
||||||
|
|
||||||
In Unicode build of wxWindows, the fuction first reads multibyte (char*)
|
In Unicode build of wxWidgets, the fuction first reads multibyte (char*)
|
||||||
string from the stream and then converts it to Unicode using the {\it conv}
|
string from the stream and then converts it to Unicode using the {\it conv}
|
||||||
object passed to constructor and returns the result as wxString. You are
|
object passed to constructor and returns the result as wxString. You are
|
||||||
responsible for using the same convertor as when writing the stream.
|
responsible for using the same convertor as when writing the stream.
|
||||||
|
@@ -26,7 +26,7 @@ None
|
|||||||
\func{}{wxDataOutputStream}{\param{wxOutputStream\&}{ stream}, \param{wxMBConv\&}{ conv = wxMBConvUTF8}}
|
\func{}{wxDataOutputStream}{\param{wxOutputStream\&}{ stream}, \param{wxMBConv\&}{ conv = wxMBConvUTF8}}
|
||||||
|
|
||||||
Constructs a datastream object from an output stream. Only write methods will
|
Constructs a datastream object from an output stream. Only write methods will
|
||||||
be available. The second form is only available in Unicode build of wxWindows.
|
be available. The second form is only available in Unicode build of wxWidgets.
|
||||||
|
|
||||||
\wxheading{Parameters}
|
\wxheading{Parameters}
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ specified with the {\it size} variable.
|
|||||||
Writes {\it string} to the stream. Actually, this method writes the size of
|
Writes {\it string} to the stream. Actually, this method writes the size of
|
||||||
the string before writing {\it string} itself.
|
the string before writing {\it string} itself.
|
||||||
|
|
||||||
In ANSI build of wxWindows, the string is written to the stream in exactly
|
In ANSI build of wxWidgets, the string is written to the stream in exactly
|
||||||
same way it is represented in memory. In Unicode build, however, the string
|
same way it is represented in memory. In Unicode build, however, the string
|
||||||
is first converted to multibyte representation with {\it conv} object passed
|
is first converted to multibyte representation with {\it conv} object passed
|
||||||
to stream's constructor (consequently, ANSI application can read data
|
to stream's constructor (consequently, ANSI application can read data
|
||||||
|
@@ -254,7 +254,7 @@ ODBC errors.}
|
|||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Default cursor scrolling is defined by wxODBC\_FWD\_ONLY\_CURSORS in setup.h
|
Default cursor scrolling is defined by wxODBC\_FWD\_ONLY\_CURSORS in setup.h
|
||||||
when the wxWindows library is built. This behavior can be overridden when
|
when the wxWidgets library is built. This behavior can be overridden when
|
||||||
an instance of a wxDb is created (see \helpref{wxDb constructor}{wxdbconstr}).
|
an instance of a wxDb is created (see \helpref{wxDb constructor}{wxdbconstr}).
|
||||||
Default setting of this value true, as not all databases/drivers support
|
Default setting of this value true, as not all databases/drivers support
|
||||||
both types of cursors.
|
both types of cursors.
|
||||||
@@ -596,7 +596,7 @@ Possible values returned by this function can be viewed in the
|
|||||||
\helpref{Enumerated types}{wxdbenumeratedtypes} section of wxDb.
|
\helpref{Enumerated types}{wxdbenumeratedtypes} section of wxDb.
|
||||||
|
|
||||||
There are known issues with conformance to the ODBC standards with several
|
There are known issues with conformance to the ODBC standards with several
|
||||||
datasources supported by the wxWindows ODBC classes. Please see the overview
|
datasources supported by the wxWidgets ODBC classes. Please see the overview
|
||||||
for specific details on which datasource have which issues.
|
for specific details on which datasource have which issues.
|
||||||
|
|
||||||
\wxheading{Return value}
|
\wxheading{Return value}
|
||||||
@@ -731,7 +731,7 @@ of processing.
|
|||||||
|
|
||||||
\func{bool}{IsFwdOnlyCursors}{\void}
|
\func{bool}{IsFwdOnlyCursors}{\void}
|
||||||
|
|
||||||
Older form (pre-2.3/2.4 of wxWindows) of the
|
Older form (pre-2.3/2.4 of wxWidgets) of the
|
||||||
\helpref{wxDb::IsFwdOnlyCursors}{wxdbisfwdonlycursors}. This method is
|
\helpref{wxDb::IsFwdOnlyCursors}{wxdbisfwdonlycursors}. This method is
|
||||||
provided for backward compatibility only. The method
|
provided for backward compatibility only. The method
|
||||||
\helpref{wxDb::IsFwdOnlyCursors}{wxdbisfwdonlycursors} should be
|
\helpref{wxDb::IsFwdOnlyCursors}{wxdbisfwdonlycursors} should be
|
||||||
@@ -1093,12 +1093,12 @@ use backward scrolling cursors and their associated functions (see note above).
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Added as of wxWindows v2.4 release, this function is a renamed version of
|
Added as of wxWidgets v2.4 release, this function is a renamed version of
|
||||||
wxDb::FwdOnlyCursors() to match the normal wxWindows naming conventions for
|
wxDb::FwdOnlyCursors() to match the normal wxWidgets naming conventions for
|
||||||
class member functions.
|
class member functions.
|
||||||
|
|
||||||
This function is not available in versions prior to v2.4. You should
|
This function is not available in versions prior to v2.4. You should
|
||||||
use \helpref{wxDb::FwdOnlyCursors}{wxdbfwdonlycursors} for wxWindows
|
use \helpref{wxDb::FwdOnlyCursors}{wxdbfwdonlycursors} for wxWidgets
|
||||||
versions prior to 2.4.
|
versions prior to 2.4.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
@@ -1963,7 +1963,7 @@ class so a program can create a wxDbTableInf array instance to maintain all
|
|||||||
information about all tables in the datasource to have all the datasource's
|
information about all tables in the datasource to have all the datasource's
|
||||||
information in one memory structure.
|
information in one memory structure.
|
||||||
|
|
||||||
Primarily, this class is used internally by the wxWindows ODBC classes.
|
Primarily, this class is used internally by the wxWidgets ODBC classes.
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
wxChar catalog[128+1];
|
wxChar catalog[128+1];
|
||||||
@@ -3054,7 +3054,7 @@ calls which defined the columns accessible to this wxDbTable instance.}
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
NULL column support is currently not fully implemented as of wxWindows 2.4.
|
NULL column support is currently not fully implemented as of wxWidgets 2.4.
|
||||||
|
|
||||||
\membersection{wxDbTable::IsCursorClosedOnCommit}\label{wxdbtableiscursorclosedoncommit}
|
\membersection{wxDbTable::IsCursorClosedOnCommit}\label{wxdbtableiscursorclosedoncommit}
|
||||||
|
|
||||||
|
@@ -109,7 +109,7 @@ This sequence of operations ensures that the source's transparent area need not
|
|||||||
and logical functions are supported.
|
and logical functions are supported.
|
||||||
|
|
||||||
{\bf Note:} on Windows, blitting with masks can be speeded up considerably by compiling
|
{\bf Note:} on Windows, blitting with masks can be speeded up considerably by compiling
|
||||||
wxWindows with the wxUSE\_DC\_CACHE option enabled. You can also influence whether MaskBlt
|
wxWidgets with the wxUSE\_DC\_CACHE option enabled. You can also influence whether MaskBlt
|
||||||
or the explicit mask blitting code above is used, by using \helpref{wxSystemOptions}{wxsystemoptions} and
|
or the explicit mask blitting code above is used, by using \helpref{wxSystemOptions}{wxsystemoptions} and
|
||||||
setting the {\bf no-maskblt} option to 1.
|
setting the {\bf no-maskblt} option to 1.
|
||||||
|
|
||||||
@@ -383,7 +383,7 @@ The current pen is used for drawing the outline, and the current brush
|
|||||||
for filling the shape. Using a transparent brush suppresses filling.
|
for filling the shape. Using a transparent brush suppresses filling.
|
||||||
The programmer is responsible for deleting the list of points.
|
The programmer is responsible for deleting the list of points.
|
||||||
|
|
||||||
Note that wxWindows automatically closes the first and last points.
|
Note that wxWidgets automatically closes the first and last points.
|
||||||
|
|
||||||
\pythonnote{The wxPython version of this method accepts a Python list
|
\pythonnote{The wxPython version of this method accepts a Python list
|
||||||
of wxPoint objects.}
|
of wxPoint objects.}
|
||||||
@@ -1071,9 +1071,9 @@ The mapping mode can be one of the following:
|
|||||||
If {\it optimize} is true (the default), this function sets optimization mode on.
|
If {\it optimize} is true (the default), this function sets optimization mode on.
|
||||||
This currently means that under X, the device context will not try to set a pen or brush
|
This currently means that under X, the device context will not try to set a pen or brush
|
||||||
property if it is known to be set already. This approach can fall down
|
property if it is known to be set already. This approach can fall down
|
||||||
if non-wxWindows code is using the same device context or window, for example
|
if non-wxWidgets code is using the same device context or window, for example
|
||||||
when the window is a panel on which the windowing system draws panel items.
|
when the window is a panel on which the windowing system draws panel items.
|
||||||
The wxWindows device context 'memory' will now be out of step with reality.
|
The wxWidgets device context 'memory' will now be out of step with reality.
|
||||||
|
|
||||||
Setting optimization off, drawing, then setting it back on again, is a trick
|
Setting optimization off, drawing, then setting it back on again, is a trick
|
||||||
that must occasionally be employed.
|
that must occasionally be employed.
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
A class for performing various debugging and memory tracing
|
A class for performing various debugging and memory tracing
|
||||||
operations. Full functionality (such as printing out objects
|
operations. Full functionality (such as printing out objects
|
||||||
currently allocated) is only present in a debugging build of wxWindows,
|
currently allocated) is only present in a debugging build of wxWidgets,
|
||||||
i.e. if the \_\_WXDEBUG\_\_ symbol is defined. wxDebugContext
|
i.e. if the \_\_WXDEBUG\_\_ symbol is defined. wxDebugContext
|
||||||
and related functions and macros can be compiled out by setting
|
and related functions and macros can be compiled out by setting
|
||||||
wxUSE\_DEBUG\_CONTEXT to 0 is setup.h
|
wxUSE\_DEBUG\_CONTEXT to 0 is setup.h
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 11.08.03
|
%% Created: 11.08.03
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDelegateRendererNative}}\label{wxdelegaterenderernative}
|
\section{\class{wxDelegateRendererNative}}\label{wxdelegaterenderernative}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 08.04.00
|
%% Created: 08.04.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDialUpEvent}}\label{wxdialupevent}
|
\section{\class{wxDialUpEvent}}\label{wxdialupevent}
|
||||||
|
@@ -77,7 +77,7 @@ with a {\tt NULL} parent window will be given the
|
|||||||
\helpref{application's top level window}{wxappgettopwindow} as parent. Use this
|
\helpref{application's top level window}{wxappgettopwindow} as parent. Use this
|
||||||
style to prevent this from happening and create an orphan dialog. This is not recommended for modal dialogs.}
|
style to prevent this from happening and create an orphan dialog. This is not recommended for modal dialogs.}
|
||||||
\twocolitem{\windowstyle{wxDIALOG\_EX\_CONTEXTHELP}}{Under Windows, puts a query button on the
|
\twocolitem{\windowstyle{wxDIALOG\_EX\_CONTEXTHELP}}{Under Windows, puts a query button on the
|
||||||
caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send
|
caption. When pressed, Windows will go into a context-sensitive help mode and wxWidgets will send
|
||||||
a wxEVT\_HELP event if the user clicked on an application window. {\it Note}\ that this is an extended
|
a wxEVT\_HELP event if the user clicked on an application window. {\it Note}\ that this is an extended
|
||||||
style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction).}
|
style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction).}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
@@ -119,10 +119,10 @@ Constructor.
|
|||||||
\docparam{title}{The title of the dialog.}
|
\docparam{title}{The title of the dialog.}
|
||||||
|
|
||||||
\docparam{pos}{The dialog position. A value of (-1, -1) indicates a default position, chosen by
|
\docparam{pos}{The dialog position. A value of (-1, -1) indicates a default position, chosen by
|
||||||
either the windowing system or wxWindows, depending on platform.}
|
either the windowing system or wxWidgets, depending on platform.}
|
||||||
|
|
||||||
\docparam{size}{The dialog size. A value of (-1, -1) indicates a default size, chosen by
|
\docparam{size}{The dialog size. A value of (-1, -1) indicates a default size, chosen by
|
||||||
either the windowing system or wxWindows, depending on platform.}
|
either the windowing system or wxWidgets, depending on platform.}
|
||||||
|
|
||||||
\docparam{style}{The window style. See \helpref{wxDialog}{wxdialog}.}
|
\docparam{style}{The window style. See \helpref{wxDialog}{wxdialog}.}
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 08.04.00
|
%% Created: 08.04.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDialUpManager}}\label{wxdialupmanager}
|
\section{\class{wxDialUpManager}}\label{wxdialupmanager}
|
||||||
@@ -22,7 +22,7 @@ network the next time or, on the contrary, to stop receiving data from the net
|
|||||||
when the user hangs up the modem). For this, you need to use one of the event
|
when the user hangs up the modem). For this, you need to use one of the event
|
||||||
macros described below.
|
macros described below.
|
||||||
|
|
||||||
This class is different from other wxWindows classes in that there is at most
|
This class is different from other wxWidgets classes in that there is at most
|
||||||
one instance of this class in the program accessed via
|
one instance of this class in the program accessed via
|
||||||
\helpref{wxDialUpManager::Create()}{wxdialupmanagercreate} and you can't
|
\helpref{wxDialUpManager::Create()}{wxdialupmanagercreate} and you can't
|
||||||
create the objects of this class directly.
|
create the objects of this class directly.
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 04.04.00
|
%% Created: 04.04.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDir}}\label{wxdir}
|
\section{\class{wxDir}}\label{wxdir}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 14.01.02 (extracted from dir.tex)
|
%% Created: 14.01.02 (extracted from dir.tex)
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDirTraverser}}\label{wxdirtraverser}
|
\section{\class{wxDirTraverser}}\label{wxdirtraverser}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 02.04.00
|
%% Created: 02.04.00
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDllLoader}}\label{wxdllloader}
|
\section{\class{wxDllLoader}}\label{wxdllloader}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 02.11.99
|
%% Created: 02.11.99
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDataObjectComposite}}\label{wxdataobjectcomposite}
|
\section{\class{wxDataObjectComposite}}\label{wxdataobjectcomposite}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 02.11.99
|
%% Created: 02.11.99
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDataObjectSimple}}\label{wxdataobjectsimple}
|
\section{\class{wxDataObjectSimple}}\label{wxdataobjectsimple}
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
The wxDocChildFrame class provides a default frame for displaying documents
|
The wxDocChildFrame class provides a default frame for displaying documents
|
||||||
on separate windows. This class can only be used for SDI (not MDI) child frames.
|
on separate windows. This class can only be used for SDI (not MDI) child frames.
|
||||||
|
|
||||||
The class is part of the document/view framework supported by wxWindows,
|
The class is part of the document/view framework supported by wxWidgets,
|
||||||
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
|
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
|
||||||
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes.
|
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
\section{\class{wxDocManager}}\label{wxdocmanager}
|
\section{\class{wxDocManager}}\label{wxdocmanager}
|
||||||
|
|
||||||
The wxDocManager class is part of the document/view framework supported by wxWindows,
|
The wxDocManager class is part of the document/view framework supported by wxWidgets,
|
||||||
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}\rtfsp
|
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}\rtfsp
|
||||||
and \helpref{wxDocTemplate}{wxdoctemplate} classes.
|
and \helpref{wxDocTemplate}{wxdoctemplate} classes.
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
The wxDocMDIChildFrame class provides a default frame for displaying documents
|
The wxDocMDIChildFrame class provides a default frame for displaying documents
|
||||||
on separate windows. This class can only be used for MDI child frames.
|
on separate windows. This class can only be used for MDI child frames.
|
||||||
|
|
||||||
The class is part of the document/view framework supported by wxWindows,
|
The class is part of the document/view framework supported by wxWidgets,
|
||||||
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
|
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
|
||||||
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes.
|
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes.
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
\section{\class{wxDocument}}\label{wxdocument}
|
\section{\class{wxDocument}}\label{wxdocument}
|
||||||
|
|
||||||
The document class can be used to model an application's file-based
|
The document class can be used to model an application's file-based
|
||||||
data. It is part of the document/view framework supported by wxWindows,
|
data. It is part of the document/view framework supported by wxWidgets,
|
||||||
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate}\rtfsp
|
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate}\rtfsp
|
||||||
and \helpref{wxDocManager}{wxdocmanager} classes.
|
and \helpref{wxDocManager}{wxdocmanager} classes.
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ Override this function and call it from your own LoadObject before
|
|||||||
streaming your own data. LoadObject is called by the framework
|
streaming your own data. LoadObject is called by the framework
|
||||||
automatically when the document contents need to be loaded.
|
automatically when the document contents need to be loaded.
|
||||||
|
|
||||||
Note that only one of these forms exists, depending on how wxWindows
|
Note that only one of these forms exists, depending on how wxWidgets
|
||||||
was configured.
|
was configured.
|
||||||
|
|
||||||
\membersection{wxDocument::Modify}\label{wxdocumentmodify}
|
\membersection{wxDocument::Modify}\label{wxdocumentmodify}
|
||||||
@@ -311,7 +311,7 @@ Override this function and call it from your own SaveObject before
|
|||||||
streaming your own data. SaveObject is called by the framework
|
streaming your own data. SaveObject is called by the framework
|
||||||
automatically when the document contents need to be saved.
|
automatically when the document contents need to be saved.
|
||||||
|
|
||||||
Note that only one of these forms exists, depending on how wxWindows
|
Note that only one of these forms exists, depending on how wxWidgets
|
||||||
was configured.
|
was configured.
|
||||||
|
|
||||||
\membersection{wxDocument::SetCommandProcessor}
|
\membersection{wxDocument::SetCommandProcessor}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 14.01.02 (extracted from dllload.tex)
|
%% Created: 14.01.02 (extracted from dllload.tex)
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxDynamicLibrary}}\label{wxdynamiclibrary}
|
\section{\class{wxDynamicLibrary}}\label{wxdynamiclibrary}
|
||||||
@@ -56,7 +56,7 @@ The possible values for \arg{cat} are:
|
|||||||
\func{wxString}{CanonicalizePluginName}{\param{const wxString\& }{name}, \param{wxPluginCategory}{ cat = wxDL\_PLUGIN\_GUI}}
|
\func{wxString}{CanonicalizePluginName}{\param{const wxString\& }{name}, \param{wxPluginCategory}{ cat = wxDL\_PLUGIN\_GUI}}
|
||||||
|
|
||||||
This function does the same thing as
|
This function does the same thing as
|
||||||
\helpref{CanonicalizeName}{wxdynamiclibrarycanonicalizename} but for wxWindows
|
\helpref{CanonicalizeName}{wxdynamiclibrarycanonicalizename} but for wxWidgets
|
||||||
plugins. The only difference is that compiler and version information are added
|
plugins. The only difference is that compiler and version information are added
|
||||||
to the name to ensure that the plugin which is going to be loaded will be
|
to the name to ensure that the plugin which is going to be loaded will be
|
||||||
compatible with the main program.
|
compatible with the main program.
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
This class is capable of converting strings between two
|
This class is capable of converting strings between two
|
||||||
8-bit encodings/charsets. It can also convert from/to Unicode (but only
|
8-bit encodings/charsets. It can also convert from/to Unicode (but only
|
||||||
if you compiled wxWindows with wxUSE\_WCHAR\_T set to 1). Only limited subset
|
if you compiled wxWidgets with wxUSE\_WCHAR\_T set to 1). Only limited subset
|
||||||
of encodings in supported by wxEncodingConverter:
|
of encodings in supported by wxEncodingConverter:
|
||||||
{\tt wxFONTENCODING\_ISO8859\_1..15}, {\tt wxFONTENCODING\_CP1250..1257} and
|
{\tt wxFONTENCODING\_ISO8859\_1..15}, {\tt wxFONTENCODING\_CP1250..1257} and
|
||||||
{\tt wxFONTENCODING\_KOI8}.
|
{\tt wxFONTENCODING\_KOI8}.
|
||||||
@@ -76,7 +76,7 @@ as input string.
|
|||||||
|
|
||||||
false if given conversion is impossible, true otherwise
|
false if given conversion is impossible, true otherwise
|
||||||
(conversion may be impossible either if you try to convert
|
(conversion may be impossible either if you try to convert
|
||||||
to Unicode with non-Unicode build of wxWindows or if input
|
to Unicode with non-Unicode build of wxWidgets or if input
|
||||||
or output encoding is not supported.)
|
or output encoding is not supported.)
|
||||||
|
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ Convert wxString and return new wxString object.
|
|||||||
|
|
||||||
You must call \helpref{Init}{wxencodingconverterinit} before using this method!
|
You must call \helpref{Init}{wxencodingconverterinit} before using this method!
|
||||||
|
|
||||||
{\tt wchar\_t} versions of the method are not available if wxWindows was compiled
|
{\tt wchar\_t} versions of the method are not available if wxWidgets was compiled
|
||||||
with {\tt wxUSE\_WCHAR\_T} set to 0.
|
with {\tt wxUSE\_WCHAR\_T} set to 0.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -84,14 +84,14 @@ Timestamp for this event.
|
|||||||
|
|
||||||
Returns a copy of the event.
|
Returns a copy of the event.
|
||||||
|
|
||||||
Any event that is posted to the wxWindows event system for later action (via
|
Any event that is posted to the wxWidgets event system for later action (via
|
||||||
\helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingevent} or
|
\helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingevent} or
|
||||||
\helpref{wxPostEvent}{wxpostevent}) must implement this method. All wxWindows
|
\helpref{wxPostEvent}{wxpostevent}) must implement this method. All wxWidgets
|
||||||
events fully implement this method, but any derived events implemented by the
|
events fully implement this method, but any derived events implemented by the
|
||||||
user should also implement this method just in case they (or some event
|
user should also implement this method just in case they (or some event
|
||||||
derived from them) are ever posted.
|
derived from them) are ever posted.
|
||||||
|
|
||||||
All wxWindows events implement a copy constructor, so the easiest way of
|
All wxWidgets events implement a copy constructor, so the easiest way of
|
||||||
implementing the Clone function is to implement a copy constructor for
|
implementing the Clone function is to implement a copy constructor for
|
||||||
a new event (call it MyEvent) and then define the Clone function like this:
|
a new event (call it MyEvent) and then define the Clone function like this:
|
||||||
|
|
||||||
|
@@ -226,14 +226,14 @@ call \helpref{wxEvent::Skip}{wxeventskip}.
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Normally, your application would not call this function: it is called in the wxWindows
|
Normally, your application would not call this function: it is called in the wxWidgets
|
||||||
implementation to dispatch incoming user interface events to the framework (and application).
|
implementation to dispatch incoming user interface events to the framework (and application).
|
||||||
|
|
||||||
However, you might need to call it if implementing new functionality (such as a new control) where
|
However, you might need to call it if implementing new functionality (such as a new control) where
|
||||||
you define new event types, as opposed to allowing the user to override virtual functions.
|
you define new event types, as opposed to allowing the user to override virtual functions.
|
||||||
|
|
||||||
An instance where you might actually override the {\bf ProcessEvent} function is where you want
|
An instance where you might actually override the {\bf ProcessEvent} function is where you want
|
||||||
to direct event processing to event handlers not normally noticed by wxWindows. For example,
|
to direct event processing to event handlers not normally noticed by wxWidgets. For example,
|
||||||
in the document/view architecture, documents and views are potential event handlers.
|
in the document/view architecture, documents and views are potential event handlers.
|
||||||
When an event reaches a frame, {\bf ProcessEvent} will need to be called on the associated
|
When an event reaches a frame, {\bf ProcessEvent} will need to be called on the associated
|
||||||
document and view in case event handler functions are associated with these objects.
|
document and view in case event handler functions are associated with these objects.
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 01.08.01
|
%% Created: 01.08.01
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2001 Vadim Zeitlin
|
%% Copyright: (c) 2001 Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxFindDialogEvent}}\label{wxfinddialogevent}
|
\section{\class{wxFindDialogEvent}}\label{wxfinddialogevent}
|
||||||
@@ -46,7 +46,7 @@ any pointers to it cannot be used any longer.}
|
|||||||
|
|
||||||
\func{}{wxFindDialogEvent}{\param{wxEventType }{commandType = wxEVT\_NULL}, \param{int }{id = 0}}
|
\func{}{wxFindDialogEvent}{\param{wxEventType }{commandType = wxEVT\_NULL}, \param{int }{id = 0}}
|
||||||
|
|
||||||
Constuctor used by wxWindows only.
|
Constuctor used by wxWidgets only.
|
||||||
|
|
||||||
\membersection{wxFindDialogEvent::GetFlags}\label{wxfinddialogeventgetflags}
|
\membersection{wxFindDialogEvent::GetFlags}\label{wxfinddialogeventgetflags}
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 14.01.02 (extracted from file.tex)
|
%% Created: 14.01.02 (extracted from file.tex)
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxFFile}}\label{wxffile}
|
\section{\class{wxFFile}}\label{wxffile}
|
||||||
@@ -245,7 +245,7 @@ Number of bytes written.
|
|||||||
|
|
||||||
Writes the contents of the string to the file, returns \true on success.
|
Writes the contents of the string to the file, returns \true on success.
|
||||||
|
|
||||||
The second argument is only meaningful in Unicode build of wxWindows when
|
The second argument is only meaningful in Unicode build of wxWidgets when
|
||||||
{\it conv} is used to convert {\it s} to multibyte representation.
|
{\it conv} is used to convert {\it s} to multibyte representation.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ class.
|
|||||||
|
|
||||||
{\bf Warning:} Under all non-Windows platforms this class is currently
|
{\bf Warning:} Under all non-Windows platforms this class is currently
|
||||||
"input-only", i.e. you can receive the files from another application, but
|
"input-only", i.e. you can receive the files from another application, but
|
||||||
copying (or dragging) file(s) from a wxWindows application is not currently
|
copying (or dragging) file(s) from a wxWidgets application is not currently
|
||||||
supported.
|
supported.
|
||||||
|
|
||||||
\wxheading{Virtual functions to override}
|
\wxheading{Virtual functions to override}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 14.01.02 (extracted from file.tex)
|
%% Created: 14.01.02 (extracted from file.tex)
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxFile}}\label{wxfile}
|
\section{\class{wxFile}}\label{wxfile}
|
||||||
@@ -295,7 +295,7 @@ the number of bytes actually written
|
|||||||
|
|
||||||
Writes the contents of the string to the file, returns true on success.
|
Writes the contents of the string to the file, returns true on success.
|
||||||
|
|
||||||
The second argument is only meaningful in Unicode build of wxWindows when
|
The second argument is only meaningful in Unicode build of wxWidgets when
|
||||||
{\it conv} is used to convert {\it s} to multibyte representation.
|
{\it conv} is used to convert {\it s} to multibyte representation.
|
||||||
|
|
||||||
Note that this method only works with {\tt NUL}-terminated strings, if you want
|
Note that this method only works with {\tt NUL}-terminated strings, if you want
|
||||||
|
@@ -85,7 +85,7 @@ wildcards; see the Remarks section above.}
|
|||||||
|
|
||||||
\docparam{pos}{Dialog position. Not implemented.}
|
\docparam{pos}{Dialog position. Not implemented.}
|
||||||
|
|
||||||
{\bf NB:} Previous versions of wxWindows used {\tt wxCHANGE\_DIR} by default
|
{\bf NB:} Previous versions of wxWidgets used {\tt wxCHANGE\_DIR} by default
|
||||||
under MS Windows which allowed the program to simply remember the last
|
under MS Windows which allowed the program to simply remember the last
|
||||||
directory where user selected the files to open/save. This (desired)
|
directory where user selected the files to open/save. This (desired)
|
||||||
functionality must be implemented in the program itself now (manually remember
|
functionality must be implemented in the program itself now (manually remember
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 30.11.01
|
%% Created: 30.11.01
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2001 Vadim Zeitlin
|
%% Copyright: (c) 2001 Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxFileName}}\label{wxfilename}
|
\section{\class{wxFileName}}\label{wxfilename}
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
wxFileName encapsulates a file name. This class serves two purposes: first, it
|
wxFileName encapsulates a file name. This class serves two purposes: first, it
|
||||||
provides the functions to split the file names into components and to recombine
|
provides the functions to split the file names into components and to recombine
|
||||||
these components in the full file name which can then be passed to the OS file
|
these components in the full file name which can then be passed to the OS file
|
||||||
functions (and \helpref{wxWindows functions}{filefunctions} wrapping them).
|
functions (and \helpref{wxWidgets functions}{filefunctions} wrapping them).
|
||||||
Second, it includes the functions for working with the files itself. Note that
|
Second, it includes the functions for working with the files itself. Note that
|
||||||
to change the file data you should use \helpref{wxFile}{wxfile} class instead.
|
to change the file data you should use \helpref{wxFile}{wxfile} class instead.
|
||||||
wxFileName provides functions for working with the file attributes.
|
wxFileName provides functions for working with the file attributes.
|
||||||
|
@@ -6,7 +6,7 @@ height and all fields in one column having the same width, but all
|
|||||||
rows or all columns are not necessarily the same height or width as in
|
rows or all columns are not necessarily the same height or width as in
|
||||||
the \helpref{wxGridSizer}{wxgridsizer}.
|
the \helpref{wxGridSizer}{wxgridsizer}.
|
||||||
|
|
||||||
Since wxWindows 2.5.0, wxFlexGridSizer can also size items equally in one
|
Since wxWidgets 2.5.0, wxFlexGridSizer can also size items equally in one
|
||||||
direction but unequally ("flexibly") in the other. If the sizer is only
|
direction but unequally ("flexibly") in the other. If the sizer is only
|
||||||
flexible in one direction (this can be changed using
|
flexible in one direction (this can be changed using
|
||||||
\helpref{SetFlexibleDrection}{wxflexgridsizersetflexibledirection}),
|
\helpref{SetFlexibleDrection}{wxflexgridsizersetflexibledirection}),
|
||||||
|
@@ -203,7 +203,7 @@ system, since wxFont uses a reference counting system for efficiency.
|
|||||||
|
|
||||||
Although all remaining fonts are deleted when the application exits,
|
Although all remaining fonts are deleted when the application exits,
|
||||||
the application should try to clean up all fonts itself. This is because
|
the application should try to clean up all fonts itself. This is because
|
||||||
wxWindows cannot know if a pointer to the font object is stored in an
|
wxWidgets cannot know if a pointer to the font object is stored in an
|
||||||
application data structure, and there is a risk of double deletion.
|
application data structure, and there is a risk of double deletion.
|
||||||
|
|
||||||
\membersection{wxFont::IsFixedWidth}\label{wxfontisfixedwidth}
|
\membersection{wxFont::IsFixedWidth}\label{wxfontisfixedwidth}
|
||||||
@@ -330,7 +330,7 @@ Sets the facename for the font.
|
|||||||
|
|
||||||
To avoid portability problems, don't rely on a specific face, but specify the font family
|
To avoid portability problems, don't rely on a specific face, but specify the font family
|
||||||
instead or as well. A suitable font will be found on the end-user's system. If both the
|
instead or as well. A suitable font will be found on the end-user's system. If both the
|
||||||
family and the facename are specified, wxWindows will first search for the specific face,
|
family and the facename are specified, wxWidgets will first search for the specific face,
|
||||||
and then for a font belonging to the same family.
|
and then for a font belonging to the same family.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 03.11.99
|
%% Created: 03.11.99
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) Vadim Zeitlin
|
%% Copyright: (c) Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxFontEnumerator}}\label{wxfontenumerator}
|
\section{\class{wxFontEnumerator}}\label{wxfontenumerator}
|
||||||
|
@@ -33,7 +33,7 @@ use the object pointer {\bf wxTheFontList}.
|
|||||||
|
|
||||||
\func{void}{AddFont}{\param{wxFont *}{font}}
|
\func{void}{AddFont}{\param{wxFont *}{font}}
|
||||||
|
|
||||||
Used by wxWindows to add a font to the list, called in the font constructor.
|
Used by wxWidgets to add a font to the list, called in the font constructor.
|
||||||
|
|
||||||
\membersection{wxFontList::FindOrCreateFont}\label{findorcreatefont}
|
\membersection{wxFontList::FindOrCreateFont}\label{findorcreatefont}
|
||||||
|
|
||||||
@@ -47,6 +47,6 @@ details of the arguments.
|
|||||||
|
|
||||||
\func{void}{RemoveFont}{\param{wxFont *}{font}}
|
\func{void}{RemoveFont}{\param{wxFont *}{font}}
|
||||||
|
|
||||||
Used by wxWindows to remove a font from the list.
|
Used by wxWidgets to remove a font from the list.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -125,7 +125,7 @@ available on this system). If successful, return true and fill info
|
|||||||
structure with the parameters required to create the font, otherwise
|
structure with the parameters required to create the font, otherwise
|
||||||
return false.
|
return false.
|
||||||
|
|
||||||
The first form is for wxWindows' internal use while the second one
|
The first form is for wxWidgets' internal use while the second one
|
||||||
is better suitable for general use -- it returns wxFontEncoding which
|
is better suitable for general use -- it returns wxFontEncoding which
|
||||||
can consequently be passed to wxFont constructor.
|
can consequently be passed to wxFont constructor.
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ The title for the dialogs (note that default is quite reasonable).
|
|||||||
|
|
||||||
Set the current font mapper object and return previous one (may be NULL).
|
Set the current font mapper object and return previous one (may be NULL).
|
||||||
This method is only useful if you want to plug-in an alternative font mapper
|
This method is only useful if you want to plug-in an alternative font mapper
|
||||||
into wxWindows.
|
into wxWidgets.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@ Has no effect under other platforms.}
|
|||||||
on top of its parent (unlike wxSTAY\_ON\_TOP). A frame created with this style
|
on top of its parent (unlike wxSTAY\_ON\_TOP). A frame created with this style
|
||||||
must have a non-NULL parent.}
|
must have a non-NULL parent.}
|
||||||
\twocolitem{\windowstyle{wxFRAME\_EX\_CONTEXTHELP}}{Under Windows, puts a query button on the
|
\twocolitem{\windowstyle{wxFRAME\_EX\_CONTEXTHELP}}{Under Windows, puts a query button on the
|
||||||
caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send
|
caption. When pressed, Windows will go into a context-sensitive help mode and wxWidgets will send
|
||||||
a wxEVT\_HELP event if the user clicked on an application window. {\it Note} that this is an extended
|
a wxEVT\_HELP event if the user clicked on an application window. {\it Note} that this is an extended
|
||||||
style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction).
|
style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction).
|
||||||
You cannot use this style together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so
|
You cannot use this style together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so
|
||||||
@@ -117,10 +117,10 @@ always be displayed on top of the parent window on Windows.}
|
|||||||
\docparam{title}{The caption to be displayed on the frame's title bar.}
|
\docparam{title}{The caption to be displayed on the frame's title bar.}
|
||||||
|
|
||||||
\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by
|
\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by
|
||||||
either the windowing system or wxWindows, depending on platform.}
|
either the windowing system or wxWidgets, depending on platform.}
|
||||||
|
|
||||||
\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by
|
\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by
|
||||||
either the windowing system or wxWindows, depending on platform.}
|
either the windowing system or wxWidgets, depending on platform.}
|
||||||
|
|
||||||
\docparam{style}{The window style. See \helpref{wxFrame}{wxframe}.}
|
\docparam{style}{The window style. See \helpref{wxFrame}{wxframe}.}
|
||||||
|
|
||||||
@@ -190,7 +190,7 @@ value greater than 1 to create a multi-field status bar.}
|
|||||||
of valid styles.}
|
of valid styles.}
|
||||||
|
|
||||||
\docparam{id}{The status bar window identifier. If -1, an identifier will be chosen by
|
\docparam{id}{The status bar window identifier. If -1, an identifier will be chosen by
|
||||||
wxWindows.}
|
wxWidgets.}
|
||||||
|
|
||||||
\docparam{name}{The status bar window name.}
|
\docparam{name}{The status bar window name.}
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ Creates a toolbar at the top or left of the frame.
|
|||||||
of valid styles.}
|
of valid styles.}
|
||||||
|
|
||||||
\docparam{id}{The toolbar window identifier. If -1, an identifier will be chosen by
|
\docparam{id}{The toolbar window identifier. If -1, an identifier will be chosen by
|
||||||
wxWindows.}
|
wxWidgets.}
|
||||||
|
|
||||||
\docparam{name}{The toolbar window name.}
|
\docparam{name}{The toolbar window name.}
|
||||||
|
|
||||||
@@ -377,7 +377,7 @@ Virtual function called when a status bar is requested by \helpref{wxFrame::Crea
|
|||||||
of valid styles.}
|
of valid styles.}
|
||||||
|
|
||||||
\docparam{id}{The window identifier. If -1, an identifier will be chosen by
|
\docparam{id}{The window identifier. If -1, an identifier will be chosen by
|
||||||
wxWindows.}
|
wxWidgets.}
|
||||||
|
|
||||||
\docparam{name}{The window name.}
|
\docparam{name}{The window name.}
|
||||||
|
|
||||||
@@ -407,7 +407,7 @@ Virtual function called when a toolbar is requested by \helpref{wxFrame::CreateT
|
|||||||
of valid styles.}
|
of valid styles.}
|
||||||
|
|
||||||
\docparam{id}{The toolbar window identifier. If -1, an identifier will be chosen by
|
\docparam{id}{The toolbar window identifier. If -1, an identifier will be chosen by
|
||||||
wxWindows.}
|
wxWidgets.}
|
||||||
|
|
||||||
\docparam{name}{The toolbar window name.}
|
\docparam{name}{The toolbar window name.}
|
||||||
|
|
||||||
@@ -492,7 +492,7 @@ See also \helpref{wxIconBundle}{wxiconbundle}.
|
|||||||
%\end{verbatim}
|
%\end{verbatim}
|
||||||
%
|
%
|
||||||
%You can replace std.ico, mdi.ico and child.ico with your own defaults
|
%You can replace std.ico, mdi.ico and child.ico with your own defaults
|
||||||
%for all your wxWindows application. Currently they show the same icon.
|
%for all your wxWidgets application. Currently they show the same icon.
|
||||||
|
|
||||||
\membersection{wxFrame::SetMenuBar}\label{wxframesetmenubar}
|
\membersection{wxFrame::SetMenuBar}\label{wxframesetmenubar}
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ Locations (aka filenames aka addresses) are constructed from four parts:
|
|||||||
\item {\bf protocol} - handler can recognize if it is able to open a
|
\item {\bf protocol} - handler can recognize if it is able to open a
|
||||||
file by checking its protocol. Examples are "http", "file" or "ftp".
|
file by checking its protocol. Examples are "http", "file" or "ftp".
|
||||||
\item {\bf right location} - is the name of file within the protocol.
|
\item {\bf right location} - is the name of file within the protocol.
|
||||||
In "http://www.wxwindows.org/index.html" the right location is "//www.wxwindows.org/index.html".
|
In "http://www.wxwidgets.org/index.html" the right location is "//www.wxwidgets.org/index.html".
|
||||||
\item {\bf anchor} - an anchor is optional and is usually not present.
|
\item {\bf anchor} - an anchor is optional and is usually not present.
|
||||||
In "index.htm\#chapter2" the anchor is "chapter2".
|
In "index.htm\#chapter2" the anchor is "chapter2".
|
||||||
\item {\bf left location} - this is usually an empty string.
|
\item {\bf left location} - this is usually an empty string.
|
||||||
@@ -55,7 +55,7 @@ There are {\bf two} protocols used in this example: "zip" and "file".
|
|||||||
|
|
||||||
\wxheading{File Systems Included in wxHTML}
|
\wxheading{File Systems Included in wxHTML}
|
||||||
|
|
||||||
The following virtual file system handlers are part of wxWindows so far:
|
The following virtual file system handlers are part of wxWidgets so far:
|
||||||
|
|
||||||
\begin{twocollist}
|
\begin{twocollist}
|
||||||
\twocolitem{{\bf wxInternetFSHandler}}{A handler for accessing documents
|
\twocolitem{{\bf wxInternetFSHandler}}{A handler for accessing documents
|
||||||
|
@@ -87,7 +87,7 @@ data (bitmap, text or raw data)
|
|||||||
will be copied into private memory stream and available under
|
will be copied into private memory stream and available under
|
||||||
name "memory:" + filename.
|
name "memory:" + filename.
|
||||||
|
|
||||||
Note that when storing image/bitmap, you must use image format that wxWindows
|
Note that when storing image/bitmap, you must use image format that wxWidgets
|
||||||
can write (e.g. JPG, PNG, see \helpref{wxImage documentation}{wximage})!
|
can write (e.g. JPG, PNG, see \helpref{wxImage documentation}{wximage})!
|
||||||
|
|
||||||
|
|
||||||
|
@@ -98,7 +98,7 @@ Returns full location of the file, including path and protocol.
|
|||||||
Examples :
|
Examples :
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
http://www.wxwindows.org
|
http://www.wxwidgets.org
|
||||||
http://www.ms.mff.cuni.cz/~vsla8348/wxhtml/archive.zip#zip:info.txt
|
http://www.ms.mff.cuni.cz/~vsla8348/wxhtml/archive.zip#zip:info.txt
|
||||||
file:/home/vasek/index.htm
|
file:/home/vasek/index.htm
|
||||||
relative-file.htm
|
relative-file.htm
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
%% Modified by:
|
%% Modified by:
|
||||||
%% Created: ~1997
|
%% Created: ~1997
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) wxWindows team
|
%% Copyright: (c) wxWidgets team
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxFTP}}\label{wxftp}
|
\section{\class{wxFTP}}\label{wxftp}
|
||||||
@@ -37,7 +37,7 @@ Example of using wxFTP for file downloading:
|
|||||||
}
|
}
|
||||||
|
|
||||||
ftp.ChDir("/pub");
|
ftp.ChDir("/pub");
|
||||||
wxInputStream *in = ftp.GetInputStream("wxWindows-4.2.0.tar.gz");
|
wxInputStream *in = ftp.GetInputStream("wxWidgets-4.2.0.tar.gz");
|
||||||
if ( !in )
|
if ( !in )
|
||||||
{
|
{
|
||||||
wxLogError("Coudln't get file");
|
wxLogError("Coudln't get file");
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
The functions and macros defined in wxWindows are described here: you can
|
The functions and macros defined in wxWidgets are described here: you can
|
||||||
either look up a function using the alphabetical listing of them or find it in
|
either look up a function using the alphabetical listing of them or find it in
|
||||||
the corresponding topic.
|
the corresponding topic.
|
||||||
|
|
||||||
@@ -244,21 +244,21 @@ the corresponding topic.
|
|||||||
|
|
||||||
\section{Version macros}\label{versionfunctions}
|
\section{Version macros}\label{versionfunctions}
|
||||||
|
|
||||||
The following constants are defined in wxWindows:
|
The following constants are defined in wxWidgets:
|
||||||
|
|
||||||
\begin{itemize}\itemsep=0pt
|
\begin{itemize}\itemsep=0pt
|
||||||
\item {\tt wxMAJOR\_VERSION} is the major version of wxWindows
|
\item {\tt wxMAJOR\_VERSION} is the major version of wxWidgets
|
||||||
\item {\tt wxMINOR\_VERSION} is the minor version of wxWindows
|
\item {\tt wxMINOR\_VERSION} is the minor version of wxWidgets
|
||||||
\item {\tt wxRELEASE\_NUMBER} is the release number
|
\item {\tt wxRELEASE\_NUMBER} is the release number
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
For example, the values or these constants for wxWindows 2.1.15 are 2, 1 and
|
For example, the values or these constants for wxWidgets 2.1.15 are 2, 1 and
|
||||||
15.
|
15.
|
||||||
|
|
||||||
Additionally, {\tt wxVERSION\_STRING} is a user-readable string containing
|
Additionally, {\tt wxVERSION\_STRING} is a user-readable string containing
|
||||||
the full wxWindows version and {\tt wxVERSION\_NUMBER} is a combination of the
|
the full wxWidgets version and {\tt wxVERSION\_NUMBER} is a combination of the
|
||||||
three version numbers above: for 2.1.15, it is 2115 and it is 2200 for
|
three version numbers above: for 2.1.15, it is 2115 and it is 2200 for
|
||||||
wxWindows 2.2.
|
wxWidgets 2.2.
|
||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
|
|
||||||
@@ -269,10 +269,10 @@ wxWindows 2.2.
|
|||||||
|
|
||||||
\func{bool}{wxCHECK\_VERSION}{\param{}{major, minor, release}}
|
\func{bool}{wxCHECK\_VERSION}{\param{}{major, minor, release}}
|
||||||
|
|
||||||
This is a macro which evaluates to true if the current wxWindows version is at
|
This is a macro which evaluates to true if the current wxWidgets version is at
|
||||||
least major.minor.release.
|
least major.minor.release.
|
||||||
|
|
||||||
For example, to test if the program is compiled with wxWindows 2.2 or higher,
|
For example, to test if the program is compiled with wxWidgets 2.2 or higher,
|
||||||
the following can be done:
|
the following can be done:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
@@ -315,31 +315,31 @@ to control the behaviour of the main event loop of the GUI programs.
|
|||||||
|
|
||||||
\membersection{::wxEntry}\label{wxentry}
|
\membersection{::wxEntry}\label{wxentry}
|
||||||
|
|
||||||
This initializes wxWindows in a platform-dependent way. Use this if you
|
This initializes wxWidgets in a platform-dependent way. Use this if you
|
||||||
are not using the default wxWindows entry code (e.g. main or WinMain). For example,
|
are not using the default wxWidgets entry code (e.g. main or WinMain). For example,
|
||||||
you can initialize wxWindows from an Microsoft Foundation Classes application using
|
you can initialize wxWidgets from an Microsoft Foundation Classes application using
|
||||||
this function.
|
this function.
|
||||||
|
|
||||||
\func{void}{wxEntry}{\param{HANDLE}{ hInstance}, \param{HANDLE}{ hPrevInstance},
|
\func{void}{wxEntry}{\param{HANDLE}{ hInstance}, \param{HANDLE}{ hPrevInstance},
|
||||||
\param{const wxString\& }{commandLine}, \param{int}{ cmdShow}, \param{bool}{ enterLoop = true}}
|
\param{const wxString\& }{commandLine}, \param{int}{ cmdShow}, \param{bool}{ enterLoop = true}}
|
||||||
|
|
||||||
wxWindows initialization under Windows (non-DLL). If {\it enterLoop} is false, the
|
wxWidgets initialization under Windows (non-DLL). If {\it enterLoop} is false, the
|
||||||
function will return immediately after calling wxApp::OnInit. Otherwise, the wxWindows
|
function will return immediately after calling wxApp::OnInit. Otherwise, the wxWidgets
|
||||||
message loop will be entered.
|
message loop will be entered.
|
||||||
|
|
||||||
\func{void}{wxEntry}{\param{HANDLE}{ hInstance}, \param{HANDLE}{ hPrevInstance},
|
\func{void}{wxEntry}{\param{HANDLE}{ hInstance}, \param{HANDLE}{ hPrevInstance},
|
||||||
\param{WORD}{ wDataSegment}, \param{WORD}{ wHeapSize}, \param{const wxString\& }{ commandLine}}
|
\param{WORD}{ wDataSegment}, \param{WORD}{ wHeapSize}, \param{const wxString\& }{ commandLine}}
|
||||||
|
|
||||||
wxWindows initialization under Windows (for applications constructed as a DLL).
|
wxWidgets initialization under Windows (for applications constructed as a DLL).
|
||||||
|
|
||||||
\func{int}{wxEntry}{\param{int}{ argc}, \param{const wxString\& *}{argv}}
|
\func{int}{wxEntry}{\param{int}{ argc}, \param{const wxString\& *}{argv}}
|
||||||
|
|
||||||
wxWindows initialization under Unix.
|
wxWidgets initialization under Unix.
|
||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
To clean up wxWindows, call wxApp::OnExit followed by the static function
|
To clean up wxWidgets, call wxApp::OnExit followed by the static function
|
||||||
wxApp::CleanUp. For example, if exiting from an MFC application that also uses wxWindows:
|
wxApp::CleanUp. For example, if exiting from an MFC application that also uses wxWidgets:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
int CTheApp::ExitInstance()
|
int CTheApp::ExitInstance()
|
||||||
@@ -362,7 +362,7 @@ int CTheApp::ExitInstance()
|
|||||||
|
|
||||||
\func{wxAppDerivedClass\&}{wxGetApp}{\void}
|
\func{wxAppDerivedClass\&}{wxGetApp}{\void}
|
||||||
|
|
||||||
This function doesn't exist in wxWindows but it is created by using
|
This function doesn't exist in wxWidgets but it is created by using
|
||||||
the \helpref{IMPLEMENT\_APP}{implementapp} macro. Thus, before using it
|
the \helpref{IMPLEMENT\_APP}{implementapp} macro. Thus, before using it
|
||||||
anywhere but in the same module where this macro is used, you must make it
|
anywhere but in the same module where this macro is used, you must make it
|
||||||
available using \helpref{DECLARE\_APP}{declareapp}.
|
available using \helpref{DECLARE\_APP}{declareapp}.
|
||||||
@@ -408,7 +408,7 @@ see \helpref{wxImage}{wximage}.
|
|||||||
|
|
||||||
This function is used in wxBase only and only if you don't create
|
This function is used in wxBase only and only if you don't create
|
||||||
\helpref{wxApp}{wxapp} object at all. In this case you must call it from your
|
\helpref{wxApp}{wxapp} object at all. In this case you must call it from your
|
||||||
{\tt main()} function before calling any other wxWindows functions.
|
{\tt main()} function before calling any other wxWidgets functions.
|
||||||
|
|
||||||
If the function returns {\tt false} the initialization could not be performed,
|
If the function returns {\tt false} the initialization could not be performed,
|
||||||
in this case the library cannot be used and
|
in this case the library cannot be used and
|
||||||
@@ -974,7 +974,7 @@ directory doesn't exist).
|
|||||||
This function is implemented for Win32,
|
This function is implemented for Win32,
|
||||||
Mac OS and generic Unix provided the system has {\tt statfs()} function.
|
Mac OS and generic Unix provided the system has {\tt statfs()} function.
|
||||||
|
|
||||||
This function first appeared in wxWindows 2.3.2.
|
This function first appeared in wxWidgets 2.3.2.
|
||||||
|
|
||||||
|
|
||||||
\membersection{::wxGetOSDirectory}\label{wxgetosdirectory}
|
\membersection{::wxGetOSDirectory}\label{wxgetosdirectory}
|
||||||
@@ -1251,7 +1251,7 @@ the domain name.
|
|||||||
|
|
||||||
Under Windows or NT, this function first looks in the environment
|
Under Windows or NT, this function first looks in the environment
|
||||||
variable SYSTEM\_NAME; if this is not found, the entry {\bf HostName}\rtfsp
|
variable SYSTEM\_NAME; if this is not found, the entry {\bf HostName}\rtfsp
|
||||||
in the {\bf wxWindows} section of the WIN.INI file is tried.
|
in the {\bf wxWidgets} section of the WIN.INI file is tried.
|
||||||
|
|
||||||
The first variant of this function returns the hostname if successful or an
|
The first variant of this function returns the hostname if successful or an
|
||||||
empty string otherwise. The second (deprecated) function returns true
|
empty string otherwise. The second (deprecated) function returns true
|
||||||
@@ -1277,7 +1277,7 @@ something like "jsmith". It uniquely identifies the current user (on this system
|
|||||||
|
|
||||||
Under Windows or NT, this function first looks in the environment
|
Under Windows or NT, this function first looks in the environment
|
||||||
variables USER and LOGNAME; if neither of these is found, the entry {\bf UserId}\rtfsp
|
variables USER and LOGNAME; if neither of these is found, the entry {\bf UserId}\rtfsp
|
||||||
in the {\bf wxWindows} section of the WIN.INI file is tried.
|
in the {\bf wxWidgets} section of the WIN.INI file is tried.
|
||||||
|
|
||||||
The first variant of this function returns the login name if successful or an
|
The first variant of this function returns the login name if successful or an
|
||||||
empty string otherwise. The second (deprecated) function returns true
|
empty string otherwise. The second (deprecated) function returns true
|
||||||
@@ -1362,7 +1362,7 @@ Returns the home directory for the given user. If the username is empty
|
|||||||
This function returns the full user name (something like "Mr. John Smith").
|
This function returns the full user name (something like "Mr. John Smith").
|
||||||
|
|
||||||
Under Windows or NT, this function looks for the entry {\bf UserName}\rtfsp
|
Under Windows or NT, this function looks for the entry {\bf UserName}\rtfsp
|
||||||
in the {\bf wxWindows} section of the WIN.INI file. If PenWindows
|
in the {\bf wxWidgets} section of the WIN.INI file. If PenWindows
|
||||||
is running, the entry {\bf Current} in the section {\bf User} of
|
is running, the entry {\bf Current} in the section {\bf User} of
|
||||||
the PENWIN.INI file is used.
|
the PENWIN.INI file is used.
|
||||||
|
|
||||||
@@ -1623,7 +1623,7 @@ Don't confuse this macro with \helpref{\_T()}{underscoret}!
|
|||||||
\func{const wxChar *}{\_T}{\param{const wxChar }{ch}}
|
\func{const wxChar *}{\_T}{\param{const wxChar }{ch}}
|
||||||
|
|
||||||
This macro is exactly the same as \helpref{wxT}{wxt} and is defined in
|
This macro is exactly the same as \helpref{wxT}{wxt} and is defined in
|
||||||
wxWindows simply because it may be more intuitive for Windows programmers as
|
wxWidgets simply because it may be more intuitive for Windows programmers as
|
||||||
the standard Win32 headers also define it (as well as yet another name for the
|
the standard Win32 headers also define it (as well as yet another name for the
|
||||||
same macro which is {\tt \_TEXT()}).
|
same macro which is {\tt \_TEXT()}).
|
||||||
|
|
||||||
@@ -2276,7 +2276,7 @@ the equivalent of the following code to the start of the metafile data:
|
|||||||
SetWindowExt(dc, maxX - minX, maxY - minY);
|
SetWindowExt(dc, maxX - minX, maxY - minY);
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
This simulates the wxMM\_TEXT mapping mode, which wxWindows assumes.
|
This simulates the wxMM\_TEXT mapping mode, which wxWidgets assumes.
|
||||||
|
|
||||||
Placeable metafiles may be imported by many Windows applications, and can be
|
Placeable metafiles may be imported by many Windows applications, and can be
|
||||||
used in RTF (Rich Text Format) files.
|
used in RTF (Rich Text Format) files.
|
||||||
@@ -2655,7 +2655,7 @@ the given {\bf id}.
|
|||||||
|
|
||||||
\func{void}{wxDDECleanUp}{\void}
|
\func{void}{wxDDECleanUp}{\void}
|
||||||
|
|
||||||
Called when wxWindows exits, to clean up the DDE system. This no longer needs to be
|
Called when wxWidgets exits, to clean up the DDE system. This no longer needs to be
|
||||||
called by the application.
|
called by the application.
|
||||||
|
|
||||||
See also \helpref{wxDDEInitialize}{wxddeinitialize}.
|
See also \helpref{wxDDEInitialize}{wxddeinitialize}.
|
||||||
@@ -2672,7 +2672,7 @@ See also \helpref{wxDDEInitialize}{wxddeinitialize}.
|
|||||||
Initializes the DDE system. May be called multiple times without harm.
|
Initializes the DDE system. May be called multiple times without harm.
|
||||||
|
|
||||||
This no longer needs to be called by the application: it will be called
|
This no longer needs to be called by the application: it will be called
|
||||||
by wxWindows if necessary.
|
by wxWidgets if necessary.
|
||||||
|
|
||||||
See also \helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEConnection}{wxddeconnection},\rtfsp
|
See also \helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEConnection}{wxddeconnection},\rtfsp
|
||||||
\helpref{wxDDECleanUp}{wxddecleanup}.
|
\helpref{wxDDECleanUp}{wxddecleanup}.
|
||||||
@@ -3046,7 +3046,7 @@ data in big-endian format.
|
|||||||
|
|
||||||
\section{RTTI functions}\label{rttimacros}
|
\section{RTTI functions}\label{rttimacros}
|
||||||
|
|
||||||
wxWindows uses its own RTTI ("run-time type identification") system which
|
wxWidgets uses its own RTTI ("run-time type identification") system which
|
||||||
predates the current standard C++ RTTI and so is kept for backwards
|
predates the current standard C++ RTTI and so is kept for backwards
|
||||||
compatibility reasons but also because it allows some things which the
|
compatibility reasons but also because it allows some things which the
|
||||||
standard RTTI doesn't directly support (such as creating a class from its
|
standard RTTI doesn't directly support (such as creating a class from its
|
||||||
@@ -3054,7 +3054,7 @@ name).
|
|||||||
|
|
||||||
The standard C++ RTTI can be used in the user code without any problems and in
|
The standard C++ RTTI can be used in the user code without any problems and in
|
||||||
general you shouldn't need to use the functions and the macros in this section
|
general you shouldn't need to use the functions and the macros in this section
|
||||||
unless you are thinking of modifying or adding any wxWindows classes.
|
unless you are thinking of modifying or adding any wxWidgets classes.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
@@ -3198,7 +3198,7 @@ a class that has run-time type information and two base classes. The same as IMP
|
|||||||
\func{}{IMPLEMENT\_APP}{className}
|
\func{}{IMPLEMENT\_APP}{className}
|
||||||
|
|
||||||
This is used in the application class implementation file to make the application class known to
|
This is used in the application class implementation file to make the application class known to
|
||||||
wxWindows for dynamic construction. You use this instead of
|
wxWidgets for dynamic construction. You use this instead of
|
||||||
|
|
||||||
Old form:
|
Old form:
|
||||||
|
|
||||||
@@ -3421,7 +3421,7 @@ star is not appended to it.
|
|||||||
These functions provide a variety of logging functions: see \helpref{Log classes overview}{wxlogoverview} for
|
These functions provide a variety of logging functions: see \helpref{Log classes overview}{wxlogoverview} for
|
||||||
further information. The functions use (implicitly) the currently active log
|
further information. The functions use (implicitly) the currently active log
|
||||||
target, so their descriptions here may not apply if the log target is not the
|
target, so their descriptions here may not apply if the log target is not the
|
||||||
standard one (installed by wxWindows in the beginning of the program).
|
standard one (installed by wxWidgets in the beginning of the program).
|
||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
|
|
||||||
@@ -3455,14 +3455,14 @@ instead.
|
|||||||
|
|
||||||
\membersection{::wxError}\label{wxerror}
|
\membersection{::wxError}\label{wxerror}
|
||||||
|
|
||||||
\func{void}{wxError}{\param{const wxString\& }{msg}, \param{const wxString\& }{title = "wxWindows Internal Error"}}
|
\func{void}{wxError}{\param{const wxString\& }{msg}, \param{const wxString\& }{title = "wxWidgets Internal Error"}}
|
||||||
|
|
||||||
{\bf NB:} This function is now obsolete, please use \helpref{wxLogError}{wxlogerror}
|
{\bf NB:} This function is now obsolete, please use \helpref{wxLogError}{wxlogerror}
|
||||||
instead.
|
instead.
|
||||||
|
|
||||||
Displays {\it msg} and continues. This writes to standard error under
|
Displays {\it msg} and continues. This writes to standard error under
|
||||||
Unix, and pops up a message box under Windows. Used for internal
|
Unix, and pops up a message box under Windows. Used for internal
|
||||||
wxWindows errors. See also \helpref{wxFatalError}{wxfatalerror}.
|
wxWidgets errors. See also \helpref{wxFatalError}{wxfatalerror}.
|
||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
|
|
||||||
@@ -3471,14 +3471,14 @@ wxWindows errors. See also \helpref{wxFatalError}{wxfatalerror}.
|
|||||||
|
|
||||||
\membersection{::wxFatalError}\label{wxfatalerror}
|
\membersection{::wxFatalError}\label{wxfatalerror}
|
||||||
|
|
||||||
\func{void}{wxFatalError}{\param{const wxString\& }{msg}, \param{const wxString\& }{title = "wxWindows Fatal Error"}}
|
\func{void}{wxFatalError}{\param{const wxString\& }{msg}, \param{const wxString\& }{title = "wxWidgets Fatal Error"}}
|
||||||
|
|
||||||
{\bf NB:} This function is now obsolete, please use
|
{\bf NB:} This function is now obsolete, please use
|
||||||
\helpref{wxLogFatalError}{wxlogfatalerror} instead.
|
\helpref{wxLogFatalError}{wxlogfatalerror} instead.
|
||||||
|
|
||||||
Displays {\it msg} and exits. This writes to standard error under Unix,
|
Displays {\it msg} and exits. This writes to standard error under Unix,
|
||||||
and pops up a message box under Windows. Used for fatal internal
|
and pops up a message box under Windows. Used for fatal internal
|
||||||
wxWindows errors. See also \helpref{wxError}{wxerror}.
|
wxWidgets errors. See also \helpref{wxError}{wxerror}.
|
||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
|
|
||||||
@@ -3564,7 +3564,7 @@ If the target frame doesn't have a statusbar, the message will be lost.
|
|||||||
|
|
||||||
\func{void}{wxVLogSysError}{\param{const char *}{formatString}, \param{va\_list }{argPtr}}
|
\func{void}{wxVLogSysError}{\param{const char *}{formatString}, \param{va\_list }{argPtr}}
|
||||||
|
|
||||||
Mostly used by wxWindows itself, but might be handy for logging errors after
|
Mostly used by wxWidgets itself, but might be handy for logging errors after
|
||||||
system call (API function) failure. It logs the specified message text as well
|
system call (API function) failure. It logs the specified message text as well
|
||||||
as the last system error code ({\it errno} or {\it ::GetLastError()} depending
|
as the last system error code ({\it errno} or {\it ::GetLastError()} depending
|
||||||
on the platform) and the corresponding error message. The second form
|
on the platform) and the corresponding error message. The second form
|
||||||
@@ -3617,7 +3617,7 @@ the mask has been previously enabled by the call to
|
|||||||
\helpref{AddTraceMask}{wxlogaddtracemask} or by setting
|
\helpref{AddTraceMask}{wxlogaddtracemask} or by setting
|
||||||
\helpref{{\tt WXTRACE} environment variable}{envvars}.
|
\helpref{{\tt WXTRACE} environment variable}{envvars}.
|
||||||
The predefined string trace masks
|
The predefined string trace masks
|
||||||
used by wxWindows are:
|
used by wxWidgets are:
|
||||||
|
|
||||||
\begin{itemize}\itemsep=0pt
|
\begin{itemize}\itemsep=0pt
|
||||||
\item wxTRACE\_MemAlloc: trace memory allocation (new/delete)
|
\item wxTRACE\_MemAlloc: trace memory allocation (new/delete)
|
||||||
@@ -3889,7 +3889,7 @@ standard usleep() function is not MT safe.
|
|||||||
\section{Debugging macros and functions}\label{debugmacros}
|
\section{Debugging macros and functions}\label{debugmacros}
|
||||||
|
|
||||||
Useful macros and functions for error checking and defensive programming.
|
Useful macros and functions for error checking and defensive programming.
|
||||||
wxWindows defines three families of the assert-like macros:
|
wxWidgets defines three families of the assert-like macros:
|
||||||
the wxASSERT and wxFAIL macros only do anything if \_\_WXDEBUG\_\_ is defined
|
the wxASSERT and wxFAIL macros only do anything if \_\_WXDEBUG\_\_ is defined
|
||||||
(in other words, in the debug build) but disappear completely in the release
|
(in other words, in the debug build) but disappear completely in the release
|
||||||
build. On the other hand, the wxCHECK macros stay event in release builds but a
|
build. On the other hand, the wxCHECK macros stay event in release builds but a
|
||||||
|
@@ -79,10 +79,10 @@ Constructor.
|
|||||||
|
|
||||||
\docparam{id}{Window identifier. If -1, will automatically create an identifier.}
|
\docparam{id}{Window identifier. If -1, will automatically create an identifier.}
|
||||||
|
|
||||||
\docparam{pos}{Window position. wxDefaultPosition is (-1, -1) which indicates that wxWindows
|
\docparam{pos}{Window position. wxDefaultPosition is (-1, -1) which indicates that wxWidgets
|
||||||
should generate a default position for the window.}
|
should generate a default position for the window.}
|
||||||
|
|
||||||
\docparam{size}{Window size. wxDefaultSize is (-1, -1) which indicates that wxWindows should
|
\docparam{size}{Window size. wxDefaultSize is (-1, -1) which indicates that wxWidgets should
|
||||||
generate a default size for the window. If no suitable size can be found, the window will be sized to 20x20 pixels so that the window is visible but obviously not correctly sized.}
|
generate a default size for the window. If no suitable size can be found, the window will be sized to 20x20 pixels so that the window is visible but obviously not correctly sized.}
|
||||||
|
|
||||||
\docparam{style}{Window style.}
|
\docparam{style}{Window style.}
|
||||||
@@ -117,7 +117,7 @@ as the target device context for OpenGL operations.
|
|||||||
|
|
||||||
\func{void}{SetColour}{\param{const char*}{ colour}}
|
\func{void}{SetColour}{\param{const char*}{ colour}}
|
||||||
|
|
||||||
Sets the current colour for this window, using the wxWindows colour database to find a named colour.
|
Sets the current colour for this window, using the wxWidgets colour database to find a named colour.
|
||||||
|
|
||||||
\membersection{wxGLCanvas::SwapBuffers}\label{wxglcanvasswapbuffers}
|
\membersection{wxGLCanvas::SwapBuffers}\label{wxglcanvasswapbuffers}
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ examples of simple and more complex applications, explains the
|
|||||||
relationship between the various grid classes and has a summary of the
|
relationship between the various grid classes and has a summary of the
|
||||||
keyboard shortcuts and mouse functions provided by wxGrid.
|
keyboard shortcuts and mouse functions provided by wxGrid.
|
||||||
|
|
||||||
wxGrid has been greatly expanded and redesigned for wxWindows 2.2
|
wxGrid has been greatly expanded and redesigned for wxWidgets 2.2
|
||||||
onwards. If you have been using the old wxGrid class you will probably
|
onwards. If you have been using the old wxGrid class you will probably
|
||||||
want to have a look at the \helpref{wxGrid classes overview}{gridoverview} to see
|
want to have a look at the \helpref{wxGrid classes overview}{gridoverview} to see
|
||||||
how things have changed. The new grid classes are reasonably backward-compatible
|
how things have changed. The new grid classes are reasonably backward-compatible
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
{\bf Please note} that this class is retained for backward compatibility
|
{\bf Please note} that this class is retained for backward compatibility
|
||||||
reasons; you should use \helpref{wxHashMap}{wxhashmap}.
|
reasons; you should use \helpref{wxHashMap}{wxhashmap}.
|
||||||
|
|
||||||
This class provides hash table functionality for wxWindows, and for an
|
This class provides hash table functionality for wxWidgets, and for an
|
||||||
application if it wishes. Data can be hashed on an integer or string
|
application if it wishes. Data can be hashed on an integer or string
|
||||||
key.
|
key.
|
||||||
|
|
||||||
|
@@ -68,7 +68,7 @@ and VALUE\_T values.
|
|||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
The HASH\_T and KEY\_EQ\_T are the types
|
The HASH\_T and KEY\_EQ\_T are the types
|
||||||
used for the hashing function and key comparison. wxWindows provides
|
used for the hashing function and key comparison. wxWidgets provides
|
||||||
three predefined hashing functions: {\tt wxIntegerHash}
|
three predefined hashing functions: {\tt wxIntegerHash}
|
||||||
for integer types ( {\tt int}, {\tt long}, {\tt short},
|
for integer types ( {\tt int}, {\tt long}, {\tt short},
|
||||||
and their unsigned counterparts ), {\tt wxStringHash} for strings
|
and their unsigned counterparts ), {\tt wxStringHash} for strings
|
||||||
|
@@ -10,7 +10,7 @@ A help event is sent to the window that the user clicked on, and is propagated u
|
|||||||
window hierarchy until the event is processed or there are no more event handlers.
|
window hierarchy until the event is processed or there are no more event handlers.
|
||||||
The application should call wxEvent::GetId to check the identity of the clicked-on window,
|
The application should call wxEvent::GetId to check the identity of the clicked-on window,
|
||||||
and then either show some suitable help or call wxEvent::Skip if the identifier is unrecognised.
|
and then either show some suitable help or call wxEvent::Skip if the identifier is unrecognised.
|
||||||
Calling Skip is important because it allows wxWindows to generate further events for ancestors
|
Calling Skip is important because it allows wxWidgets to generate further events for ancestors
|
||||||
of the clicked-on window. Otherwise it would be impossible to show help for container windows,
|
of the clicked-on window. Otherwise it would be impossible to show help for container windows,
|
||||||
since processing would stop after the first window found.
|
since processing would stop after the first window found.
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@ appropriate class is aliased to the name wxHelpController for each platform, as
|
|||||||
\begin{itemize}\itemsep=0pt
|
\begin{itemize}\itemsep=0pt
|
||||||
\item On Windows, wxWinHelpController is used.
|
\item On Windows, wxWinHelpController is used.
|
||||||
\item On all other platforms, wxHtmlHelpController is used if wxHTML is
|
\item On all other platforms, wxHtmlHelpController is used if wxHTML is
|
||||||
compiled into wxWindows; otherwise wxExtHelpController is used (for invoking an external
|
compiled into wxWidgets; otherwise wxExtHelpController is used (for invoking an external
|
||||||
browser).
|
browser).
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ There are currently the following help controller classes defined:
|
|||||||
\item wxWinHelpController, for controlling Windows Help.
|
\item wxWinHelpController, for controlling Windows Help.
|
||||||
\item wxCHMHelpController, for controlling MS HTML Help. To use this, you need to set wxUSE\_MS\_HTML\_HELP
|
\item wxCHMHelpController, for controlling MS HTML Help. To use this, you need to set wxUSE\_MS\_HTML\_HELP
|
||||||
to 1 in setup.h and have htmlhelp.h header from Microsoft's HTML Help kit (you don't need
|
to 1 in setup.h and have htmlhelp.h header from Microsoft's HTML Help kit (you don't need
|
||||||
VC++ specific htmlhelp.lib because wxWindows loads necessary DLL at runtime and so it
|
VC++ specific htmlhelp.lib because wxWidgets loads necessary DLL at runtime and so it
|
||||||
works with all compilers).
|
works with all compilers).
|
||||||
\item wxBestHelpController, for controlling MS HTML Help or, if Microsoft's runtime is
|
\item wxBestHelpController, for controlling MS HTML Help or, if Microsoft's runtime is
|
||||||
not available, \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}. You need to provide
|
not available, \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}. You need to provide
|
||||||
@@ -56,7 +56,7 @@ wxHelpControllerBase\\
|
|||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
|
|
||||||
<wx/help.h> (wxWindows chooses the appropriate help controller class)\\
|
<wx/help.h> (wxWidgets chooses the appropriate help controller class)\\
|
||||||
<wx/helpbase.h> (wxHelpControllerBase class)\\
|
<wx/helpbase.h> (wxHelpControllerBase class)\\
|
||||||
<wx/helpwin.h> (Windows Help controller)\\
|
<wx/helpwin.h> (Windows Help controller)\\
|
||||||
<wx/msw/helpchm.h> (MS HTML Help controller)\\
|
<wx/msw/helpchm.h> (MS HTML Help controller)\\
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
\section{\class{wxHtmlHelpController}}\label{wxhtmlhelpcontroller}
|
\section{\class{wxHtmlHelpController}}\label{wxhtmlhelpcontroller}
|
||||||
|
|
||||||
{\bf WARNING!} Although this class has an API compatible with other wxWindows
|
{\bf WARNING!} Although this class has an API compatible with other wxWidgets
|
||||||
help controllers as documented by \helpref{wxHelpController}{wxhelpcontroller}, it
|
help controllers as documented by \helpref{wxHelpController}{wxhelpcontroller}, it
|
||||||
is recommended that you use the enhanced capabilities of wxHtmlHelpController's API.
|
is recommended that you use the enhanced capabilities of wxHtmlHelpController's API.
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ This help controller provides an easy way of displaying HTML help in your
|
|||||||
application (see {\it test} sample). The help system is based on {\bf books}
|
application (see {\it test} sample). The help system is based on {\bf books}
|
||||||
(see \helpref{AddBook}{wxhtmlhelpcontrolleraddbook}). A book is a logical
|
(see \helpref{AddBook}{wxhtmlhelpcontrolleraddbook}). A book is a logical
|
||||||
section of documentation (for example "User's Guide" or "Programmer's Guide" or
|
section of documentation (for example "User's Guide" or "Programmer's Guide" or
|
||||||
"C++ Reference" or "wxWindows Reference"). The help controller can handle as
|
"C++ Reference" or "wxWidgets Reference"). The help controller can handle as
|
||||||
many books as you want.
|
many books as you want.
|
||||||
|
|
||||||
wxHTML uses Microsoft's HTML Help Workshop project files (.hhp, .hhk, .hhc) as its
|
wxHTML uses Microsoft's HTML Help Workshop project files (.hhp, .hhk, .hhc) as its
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 01.06.03
|
%% Created: 01.06.03
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxHtmlListBox}}\label{wxhtmllistbox}
|
\section{\class{wxHtmlListBox}}\label{wxhtmllistbox}
|
||||||
|
@@ -5,7 +5,7 @@ The wxHTML library provides printing facilities with several levels of complexit
|
|||||||
The easiest way to print an HTML document is to use
|
The easiest way to print an HTML document is to use
|
||||||
\helpref{wxHtmlEasyPrinting class}{wxhtmleasyprinting}. It lets you print HTML documents with only one
|
\helpref{wxHtmlEasyPrinting class}{wxhtmleasyprinting}. It lets you print HTML documents with only one
|
||||||
command and you don't have to worry about deriving from the wxPrintout class at all. It is only a simple wrapper around the
|
command and you don't have to worry about deriving from the wxPrintout class at all. It is only a simple wrapper around the
|
||||||
\helpref{wxHtmlPrintout}{wxhtmlprintout}, normal wxWindows printout class.
|
\helpref{wxHtmlPrintout}{wxhtmlprintout}, normal wxWidgets printout class.
|
||||||
|
|
||||||
And finally there is the low level class \helpref{wxHtmlDCRenderer}{wxhtmldcrenderer} which you can use to
|
And finally there is the low level class \helpref{wxHtmlDCRenderer}{wxhtmldcrenderer} which you can use to
|
||||||
render HTML into a rectangular area on any DC. It supports rendering into multiple rectangles with the same
|
render HTML into a rectangular area on any DC. It supports rendering into multiple rectangles with the same
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
\section{wxWindows Hello World sample}\label{helloworld}
|
\section{wxWidgets Hello World sample}\label{helloworld}
|
||||||
|
|
||||||
As many people have requested a mini-sample to be published here
|
As many people have requested a mini-sample to be published here
|
||||||
so that some quick judgment concerning syntax
|
so that some quick judgment concerning syntax
|
||||||
and basic principles can be made, you can now look at wxWindows'
|
and basic principles can be made, you can now look at wxWidgets'
|
||||||
"Hello World":
|
"Hello World":
|
||||||
|
|
||||||
You have to include wxWindows' header files, of course. This can
|
You have to include wxWidgets' header files, of course. This can
|
||||||
be done on a file by file basis (such as \#include "wx/window.h")
|
be done on a file by file basis (such as \#include "wx/window.h")
|
||||||
or using one global include (\#include "wx/wx.h"). This is
|
or using one global include (\#include "wx/wx.h"). This is
|
||||||
also useful on platforms which support precompiled headers such
|
also useful on platforms which support precompiled headers such
|
||||||
@@ -15,7 +15,7 @@ as all major compilers on the Windows platform.
|
|||||||
//
|
//
|
||||||
// file name: hworld.cpp
|
// file name: hworld.cpp
|
||||||
//
|
//
|
||||||
// purpose: wxWindows "Hello world"
|
// purpose: wxWidgets "Hello world"
|
||||||
//
|
//
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
@@ -94,7 +94,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
As in all programs there must be a "main" function. Under wxWindows main is implemented
|
As in all programs there must be a "main" function. Under wxWidgets main is implemented
|
||||||
using this macro, which creates an application instance and starts the program.
|
using this macro, which creates an application instance and starts the program.
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
@@ -137,7 +137,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
|||||||
SetMenuBar( menuBar );
|
SetMenuBar( menuBar );
|
||||||
|
|
||||||
CreateStatusBar();
|
CreateStatusBar();
|
||||||
SetStatusText( "Welcome to wxWindows!" );
|
SetStatusText( "Welcome to wxWidgets!" );
|
||||||
}
|
}
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ case a typical "About" window with information about the program.
|
|||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
wxMessageBox( "This is a wxWindows' Hello world sample",
|
wxMessageBox( "This is a wxWidgets' Hello world sample",
|
||||||
"About Hello World", wxOK | wxICON_INFORMATION );
|
"About Hello World", wxOK | wxICON_INFORMATION );
|
||||||
}
|
}
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
@@ -126,8 +126,8 @@ Its meaning is determined by the {\it flags} parameter.}
|
|||||||
%\twocolitem{\indexit{wxBITMAP\_TYPE\_RESOURCE}}{Load a Windows resource name.}
|
%\twocolitem{\indexit{wxBITMAP\_TYPE\_RESOURCE}}{Load a Windows resource name.}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
The validity of these flags depends on the platform and wxWindows configuration.
|
The validity of these flags depends on the platform and wxWidgets configuration.
|
||||||
If all possible wxWindows settings are used, the Windows platform supports ICO file, ICO resource,
|
If all possible wxWidgets settings are used, the Windows platform supports ICO file, ICO resource,
|
||||||
XPM data, and XPM file. Under wxGTK, the available formats are BMP file, XPM data, XPM file, and PNG file.
|
XPM data, and XPM file. Under wxGTK, the available formats are BMP file, XPM data, XPM file, and PNG file.
|
||||||
Under wxMotif, the available formats are XBM data, XBM file, XPM data, XPM file.}
|
Under wxMotif, the available formats are XBM data, XBM file, XPM data, XPM file.}
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ X and Windows.
|
|||||||
|
|
||||||
The sixth form constructs a new icon.
|
The sixth form constructs a new icon.
|
||||||
|
|
||||||
The seventh form constructs an icon from pixmap (XPM) data, if wxWindows has been configured
|
The seventh form constructs an icon from pixmap (XPM) data, if wxWidgets has been configured
|
||||||
to incorporate this feature.
|
to incorporate this feature.
|
||||||
|
|
||||||
To use this constructor, you must first include an XPM file. For
|
To use this constructor, you must first include an XPM file. For
|
||||||
@@ -218,7 +218,7 @@ destroyed at this point - only when the reference count is zero will the
|
|||||||
data be deleted.
|
data be deleted.
|
||||||
|
|
||||||
If the application omits to delete the icon explicitly, the icon will be
|
If the application omits to delete the icon explicitly, the icon will be
|
||||||
destroyed automatically by wxWindows when the application exits.
|
destroyed automatically by wxWidgets when the application exits.
|
||||||
|
|
||||||
Do not delete an icon that is selected into a memory device context.
|
Do not delete an icon that is selected into a memory device context.
|
||||||
|
|
||||||
@@ -267,7 +267,7 @@ The meaning of {\it name} is determined by the {\it type} parameter.}
|
|||||||
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
|
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
The validity of these flags depends on the platform and wxWindows configuration.}
|
The validity of these flags depends on the platform and wxWidgets configuration.}
|
||||||
|
|
||||||
\wxheading{Return value}
|
\wxheading{Return value}
|
||||||
|
|
||||||
@@ -304,7 +304,7 @@ Saves an icon in the named file.
|
|||||||
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.}
|
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
The validity of these flags depends on the platform and wxWindows configuration.}
|
The validity of these flags depends on the platform and wxWidgets configuration.}
|
||||||
|
|
||||||
\docparam{palette}{An optional palette used for saving the icon.}
|
\docparam{palette}{An optional palette used for saving the icon.}
|
||||||
|
|
||||||
@@ -314,7 +314,7 @@ true if the operation succeeded, false otherwise.
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Depending on how wxWindows has been configured, not all formats may be available.
|
Depending on how wxWidgets has been configured, not all formats may be available.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created:
|
%% Created:
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2001 Vadim Zeitlin
|
%% Copyright: (c) 2001 Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxIconizeEvent}}\label{wxiconizeevent}
|
\section{\class{wxIconizeEvent}}\label{wxiconizeevent}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 21.06.03
|
%% Created: 21.06.03
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxIconLocation}}\label{wxiconlocation}
|
\section{\class{wxIconLocation}}\label{wxiconlocation}
|
||||||
|
@@ -68,7 +68,7 @@ to only send idle events to windows with the wxWS\_EX\_PROCESS\_IDLE extra windo
|
|||||||
|
|
||||||
\func{static wxIdleMode}{GetMode}{\void}
|
\func{static wxIdleMode}{GetMode}{\void}
|
||||||
|
|
||||||
Static function returning a value specifying how wxWindows
|
Static function returning a value specifying how wxWidgets
|
||||||
will send idle events: to all windows, or only to those which specify that they
|
will send idle events: to all windows, or only to those which specify that they
|
||||||
will process the events.
|
will process the events.
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ See \helpref{wxIdleEvent::SetMode}{wxidleeventsetmode}.
|
|||||||
|
|
||||||
\func{void}{RequestMore}{\param{bool}{ needMore = true}}
|
\func{void}{RequestMore}{\param{bool}{ needMore = true}}
|
||||||
|
|
||||||
Tells wxWindows that more processing is required. This function can be called by an OnIdle
|
Tells wxWidgets that more processing is required. This function can be called by an OnIdle
|
||||||
handler for a window or window event handler to indicate that wxApp::OnIdle should
|
handler for a window or window event handler to indicate that wxApp::OnIdle should
|
||||||
forward the OnIdle event once more to the application windows. If no window calls this function
|
forward the OnIdle event once more to the application windows. If no window calls this function
|
||||||
during OnIdle, then the application will remain in a passive event loop (not calling OnIdle) until a
|
during OnIdle, then the application will remain in a passive event loop (not calling OnIdle) until a
|
||||||
@@ -102,7 +102,7 @@ Returns true if the OnIdle function processing this event requested more process
|
|||||||
|
|
||||||
\func{static void}{SetMode}{\param{wxIdleMode }{mode}}
|
\func{static void}{SetMode}{\param{wxIdleMode }{mode}}
|
||||||
|
|
||||||
Static function for specifying how wxWindows will send idle events: to
|
Static function for specifying how wxWidgets will send idle events: to
|
||||||
all windows, or only to those which specify that they
|
all windows, or only to those which specify that they
|
||||||
will process the events.
|
will process the events.
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@ creation of a \helpref{wxMask}{wxmask} object associated to the bitmap object.
|
|||||||
|
|
||||||
\wxheading{Alpha channel support}
|
\wxheading{Alpha channel support}
|
||||||
|
|
||||||
Starting from wxWindows 2.5.0 wxImage supports alpha channel data, that is in
|
Starting from wxWidgets 2.5.0 wxImage supports alpha channel data, that is in
|
||||||
addition to a byte for the red, green and blue colour components for each pixel
|
addition to a byte for the red, green and blue colour components for each pixel
|
||||||
it also stores a byte representing the pixel opacity. The alpha value of $0$
|
it also stores a byte representing the pixel opacity. The alpha value of $0$
|
||||||
corresponds to a transparent pixel (null opacity) while the value of $255$
|
corresponds to a transparent pixel (null opacity) while the value of $255$
|
||||||
@@ -154,7 +154,7 @@ the GIF and TIFF handler and as the largest and most colourful one by the ICO ha
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Depending on how wxWindows has been configured, not all formats may be available.
|
Depending on how wxWidgets has been configured, not all formats may be available.
|
||||||
|
|
||||||
Note: any handler other than BMP must be previously
|
Note: any handler other than BMP must be previously
|
||||||
initialized with \helpref{wxImage::AddHandler}{wximageaddhandler} or
|
initialized with \helpref{wxImage::AddHandler}{wximageaddhandler} or
|
||||||
@@ -229,7 +229,7 @@ returns true if the current image handlers can read this file
|
|||||||
|
|
||||||
Deletes all image handlers.
|
Deletes all image handlers.
|
||||||
|
|
||||||
This function is called by wxWindows on exit.
|
This function is called by wxWidgets on exit.
|
||||||
|
|
||||||
\membersection{wxImage::ComputeHistogram}\label{wximagecomputehistogram}
|
\membersection{wxImage::ComputeHistogram}\label{wximagecomputehistogram}
|
||||||
|
|
||||||
@@ -591,7 +591,7 @@ Returns true if the given option is present. The function is case-insensitive to
|
|||||||
Internal use only. Adds standard image format handlers. It only install BMP
|
Internal use only. Adds standard image format handlers. It only install BMP
|
||||||
for the time being, which is used by wxBitmap.
|
for the time being, which is used by wxBitmap.
|
||||||
|
|
||||||
This function is called by wxWindows on startup, and shouldn't be called by
|
This function is called by wxWidgets on startup, and shouldn't be called by
|
||||||
the user.
|
the user.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
@@ -660,7 +660,7 @@ the GIF and TIFF handler and as the largest and most colourful one by the ICO ha
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Depending on how wxWindows has been configured, not all formats may be available.
|
Depending on how wxWidgets has been configured, not all formats may be available.
|
||||||
|
|
||||||
Note: you can use \helpref{GetOptionInt}{wximagegetoptionint} to get the
|
Note: you can use \helpref{GetOptionInt}{wximagegetoptionint} to get the
|
||||||
hotspot for loaded cursor file:
|
hotspot for loaded cursor file:
|
||||||
@@ -815,7 +815,7 @@ true if the operation succeeded, false otherwise.
|
|||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Depending on how wxWindows has been configured, not all formats may be available.
|
Depending on how wxWidgets has been configured, not all formats may be available.
|
||||||
|
|
||||||
Note: you can use \helpref{GetOptionInt}{wximagegetoptionint} to set the
|
Note: you can use \helpref{GetOptionInt}{wximagegetoptionint} to set the
|
||||||
hotspot before saving an image into a cursor file (default hotspot is in
|
hotspot before saving an image into a cursor file (default hotspot is in
|
||||||
@@ -1046,7 +1046,7 @@ application initialisation.
|
|||||||
|
|
||||||
This software is based in part on the work of the Independent JPEG Group.
|
This software is based in part on the work of the Independent JPEG Group.
|
||||||
|
|
||||||
(Applies when wxWindows is linked with JPEG support. wxJPEGHandler uses libjpeg
|
(Applies when wxWidgets is linked with JPEG support. wxJPEGHandler uses libjpeg
|
||||||
created by IJG.)
|
created by IJG.)
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
This event class contains information about keypress (character) events.
|
This event class contains information about keypress (character) events.
|
||||||
|
|
||||||
Notice that there are three different kinds of keyboard events in wxWindows:
|
Notice that there are three different kinds of keyboard events in wxWidgets:
|
||||||
key down and up events and char events. The difference between the first two
|
key down and up events and char events. The difference between the first two
|
||||||
is clear - the first corresponds to a key press and the second to a key
|
is clear - the first corresponds to a key press and the second to a key
|
||||||
release - otherwise they are identical. Just note that if the key is
|
release - otherwise they are identical. Just note that if the key is
|
||||||
@@ -37,7 +37,7 @@ same key code {\tt 'a'} as usual but the char event will have key code of
|
|||||||
$1$, the ASCII value of this key combination.
|
$1$, the ASCII value of this key combination.
|
||||||
|
|
||||||
You may discover how the other keys on your system behave interactively by
|
You may discover how the other keys on your system behave interactively by
|
||||||
running the \helpref{text}{sampletext} wxWindows sample and pressing some keys
|
running the \helpref{text}{sampletext} wxWidgets sample and pressing some keys
|
||||||
in any of the text controls shown in it.
|
in any of the text controls shown in it.
|
||||||
|
|
||||||
{\bf Note:} If a key down ({\tt EVT\_KEY\_DOWN}) event is caught and
|
{\bf Note:} If a key down ({\tt EVT\_KEY\_DOWN}) event is caught and
|
||||||
@@ -46,10 +46,10 @@ char event ({\tt EVT\_CHAR}) will not happen. This is by design and
|
|||||||
enables the programs that handle both types of events to be a bit
|
enables the programs that handle both types of events to be a bit
|
||||||
simpler.
|
simpler.
|
||||||
|
|
||||||
{\bf Note for Windows programmers:} The key and char events in wxWindows are
|
{\bf Note for Windows programmers:} The key and char events in wxWidgets are
|
||||||
similar to but slightly different from Windows {\tt WM\_KEYDOWN} and
|
similar to but slightly different from Windows {\tt WM\_KEYDOWN} and
|
||||||
{\tt WM\_CHAR} events. In particular, Alt-x combination will generate a char
|
{\tt WM\_CHAR} events. In particular, Alt-x combination will generate a char
|
||||||
event in wxWindows (unless it is used as an accelerator).
|
event in wxWidgets (unless it is used as an accelerator).
|
||||||
|
|
||||||
{\bf Tip:} be sure to call {\tt event.Skip()} for events that you don't process in
|
{\bf Tip:} be sure to call {\tt event.Skip()} for events that you don't process in
|
||||||
key event function, otherwise menu shortcuts may cease to work under Windows.
|
key event function, otherwise menu shortcuts may cease to work under Windows.
|
||||||
|
@@ -2,11 +2,11 @@
|
|||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||||
|
|
||||||
Starting from version 2.5.0 wxWindows can be built either as a single large
|
Starting from version 2.5.0 wxWidgets can be built either as a single large
|
||||||
library (this is called the {\it monolithic build}) or as several smaller
|
library (this is called the {\it monolithic build}) or as several smaller
|
||||||
libraries ({\it multilib build}). Multilib build is the default.
|
libraries ({\it multilib build}). Multilib build is the default.
|
||||||
|
|
||||||
wxWindows library is divided into libraries briefly described below. This
|
wxWidgets library is divided into libraries briefly described below. This
|
||||||
diagram show dependencies between them:
|
diagram show dependencies between them:
|
||||||
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
@@ -15,8 +15,8 @@ diagram show dependencies between them:
|
|||||||
|
|
||||||
{\large {\bf wxBase}}
|
{\large {\bf wxBase}}
|
||||||
|
|
||||||
Every wxWindows application must link against this library. It contains
|
Every wxWidgets application must link against this library. It contains
|
||||||
mandatory classes that any wxWindows code depends on (e.g.
|
mandatory classes that any wxWidgets code depends on (e.g.
|
||||||
\helpref{wxString}{wxstring}) and portability classes that abstract
|
\helpref{wxString}{wxstring}) and portability classes that abstract
|
||||||
differences between platforms. wxBase can be used to develop console mode
|
differences between platforms. wxBase can be used to develop console mode
|
||||||
applications, it does not require any GUI libraries or running X Window System
|
applications, it does not require any GUI libraries or running X Window System
|
||||||
@@ -45,13 +45,13 @@ This library contains simple classes for parsing XML documents. Note that
|
|||||||
their API {\em will} change in the future and backward
|
their API {\em will} change in the future and backward
|
||||||
compatibility will not be preserved. Use of this library in your applications
|
compatibility will not be preserved. Use of this library in your applications
|
||||||
is not recommended, it is only meant for use by XML resources system. Future
|
is not recommended, it is only meant for use by XML resources system. Future
|
||||||
versions of wxWindows will contain new XML handling classes with DOM-like API.
|
versions of wxWidgets will contain new XML handling classes with DOM-like API.
|
||||||
Requires wxBase.
|
Requires wxBase.
|
||||||
|
|
||||||
{\large {\bf wxCore}}
|
{\large {\bf wxCore}}
|
||||||
|
|
||||||
Basic GUI classes such as GDI classes or controls are in this library. All
|
Basic GUI classes such as GDI classes or controls are in this library. All
|
||||||
wxWindows GUI applications must link against this library, only console mode
|
wxWidgets GUI applications must link against this library, only console mode
|
||||||
applications don't.
|
applications don't.
|
||||||
|
|
||||||
{\large {\bf wxAdvanced}}
|
{\large {\bf wxAdvanced}}
|
||||||
@@ -79,7 +79,7 @@ Requires wxCore and wxBase.
|
|||||||
{\large {\bf wxGL}}
|
{\large {\bf wxGL}}
|
||||||
|
|
||||||
This library contains \helpref{wxGLCanvas}{wxglcanvas} class for integrating
|
This library contains \helpref{wxGLCanvas}{wxglcanvas} class for integrating
|
||||||
OpenGL library with wxWindows. Unlike all others, this library is {\em not}
|
OpenGL library with wxWidgets. Unlike all others, this library is {\em not}
|
||||||
part of the monolithic library, it is always built as separate library.
|
part of the monolithic library, it is always built as separate library.
|
||||||
Requires wxCore and wxBase.
|
Requires wxCore and wxBase.
|
||||||
|
|
||||||
|
@@ -1,19 +1,19 @@
|
|||||||
\section{\class{wxList}}\label{wxlist}
|
\section{\class{wxList}}\label{wxlist}
|
||||||
|
|
||||||
wxList classes provide linked list functionality for wxWindows, and for an
|
wxList classes provide linked list functionality for wxWidgets, and for an
|
||||||
application if it wishes. Depending on the form of constructor used, a list
|
application if it wishes. Depending on the form of constructor used, a list
|
||||||
can be keyed on integer or string keys to provide a primitive look-up ability,
|
can be keyed on integer or string keys to provide a primitive look-up ability,
|
||||||
but please note that this feature is {\bf deprecated}.
|
but please note that this feature is {\bf deprecated}.
|
||||||
See \helpref{wxHashMap}{wxhashmap}\rtfsp for a faster method of storage
|
See \helpref{wxHashMap}{wxhashmap}\rtfsp for a faster method of storage
|
||||||
when random access is required.
|
when random access is required.
|
||||||
|
|
||||||
While wxList class in the previous versions of wxWindows only could contain
|
While wxList class in the previous versions of wxWidgets only could contain
|
||||||
elements of type wxObject and had essentially untyped interface (thus allowing
|
elements of type wxObject and had essentially untyped interface (thus allowing
|
||||||
you to put apples in the list and read back oranges from it), the new wxList
|
you to put apples in the list and read back oranges from it), the new wxList
|
||||||
classes family may contain elements of any type and has much more strict type
|
classes family may contain elements of any type and has much more strict type
|
||||||
checking. Unfortunately, it also requires an additional line to be inserted in
|
checking. Unfortunately, it also requires an additional line to be inserted in
|
||||||
your program for each list class you use (which is the only solution short of
|
your program for each list class you use (which is the only solution short of
|
||||||
using templates which is not done in wxWindows because of portability issues).
|
using templates which is not done in wxWidgets because of portability issues).
|
||||||
|
|
||||||
The general idea is to have the base class wxListBase working with {\it void *}
|
The general idea is to have the base class wxListBase working with {\it void *}
|
||||||
data but make all of its dangerous (because untyped) functions protected, so
|
data but make all of its dangerous (because untyped) functions protected, so
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 22.08.03
|
%% Created: 22.08.03
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
%% Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxListbook}}\label{wxlistbook}
|
\section{\class{wxListbook}}\label{wxlistbook}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
%% Created: 07.11.02
|
%% Created: 07.11.02
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 2002 Vadim Zeitlin <vadim@wxwindows.org>
|
%% Copyright: (c) 2002 Vadim Zeitlin <vadim@wxwindows.org>
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxListView}}\label{wxlistview}
|
\section{\class{wxListView}}\label{wxlistview}
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
wxLocale class encapsulates all language-dependent settings and is a
|
wxLocale class encapsulates all language-dependent settings and is a
|
||||||
generalization of the C locale concept.
|
generalization of the C locale concept.
|
||||||
|
|
||||||
In wxWindows this class manages message catalogs which contain the translations
|
In wxWidgets this class manages message catalogs which contain the translations
|
||||||
of the strings used to the current language.
|
of the strings used to the current language.
|
||||||
|
|
||||||
\perlnote{In wxPerl you can't use the '\_' function name, so
|
\perlnote{In wxPerl you can't use the '\_' function name, so
|
||||||
@@ -561,7 +561,7 @@ language (see \helpref{GetSystemLanguage}{wxlocalegetsystemlanguage}).}
|
|||||||
\docparam{flags}{Combination of the following:
|
\docparam{flags}{Combination of the following:
|
||||||
\begin{twocollist}\itemsep=0pt
|
\begin{twocollist}\itemsep=0pt
|
||||||
\twocolitem{\windowstyle{wxLOCALE\_LOAD\_DEFAULT}}{Load the message catalog
|
\twocolitem{\windowstyle{wxLOCALE\_LOAD\_DEFAULT}}{Load the message catalog
|
||||||
for the given locale containing the translations of standard wxWindows messages
|
for the given locale containing the translations of standard wxWidgets messages
|
||||||
automatically.}
|
automatically.}
|
||||||
\twocolitem{\windowstyle{wxLOCALE\_CONV\_ENCODING}}{Automatically convert message
|
\twocolitem{\windowstyle{wxLOCALE\_CONV\_ENCODING}}{Automatically convert message
|
||||||
catalogs to platform's default encoding. Note that it will do only basic
|
catalogs to platform's default encoding. Note that it will do only basic
|
||||||
@@ -580,7 +580,7 @@ directory prefix when looking for the message catalog files.}
|
|||||||
platform-specific.}
|
platform-specific.}
|
||||||
|
|
||||||
\docparam{bLoadDefault}{May be set to false to prevent loading of the message catalog
|
\docparam{bLoadDefault}{May be set to false to prevent loading of the message catalog
|
||||||
for the given locale containing the translations of standard wxWindows messages.
|
for the given locale containing the translations of standard wxWidgets messages.
|
||||||
This parameter would be rarely used in normal circumstances.}
|
This parameter would be rarely used in normal circumstances.}
|
||||||
|
|
||||||
\docparam{bConvertEncoding}{May be set to true to do automatic conversion of message
|
\docparam{bConvertEncoding}{May be set to true to do automatic conversion of message
|
||||||
|
@@ -6,12 +6,12 @@
|
|||||||
%% Created: some time ago
|
%% Created: some time ago
|
||||||
%% RCS-ID: $Id$
|
%% RCS-ID: $Id$
|
||||||
%% Copyright: (c) 1997-2001 Vadim Zeitlin
|
%% Copyright: (c) 1997-2001 Vadim Zeitlin
|
||||||
%% License: wxWindows license
|
%% License: wxWidgets license
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\section{\class{wxLog}}\label{wxlog}
|
\section{\class{wxLog}}\label{wxlog}
|
||||||
|
|
||||||
wxLog class defines the interface for the {\it log targets} used by wxWindows
|
wxLog class defines the interface for the {\it log targets} used by wxWidgets
|
||||||
logging functions as explained in the \helpref{wxLog overview}{wxlogoverview}.
|
logging functions as explained in the \helpref{wxLog overview}{wxlogoverview}.
|
||||||
The only situations when you need to directly use this class is when you want
|
The only situations when you need to directly use this class is when you want
|
||||||
to derive your own log target because the existing ones don't satisfy your
|
to derive your own log target because the existing ones don't satisfy your
|
||||||
@@ -23,7 +23,7 @@ completely) the timestamp on the messages.
|
|||||||
Otherwise, it is completely hidden behind the {\it wxLogXXX()} functions and
|
Otherwise, it is completely hidden behind the {\it wxLogXXX()} functions and
|
||||||
you may not even know about its existence.
|
you may not even know about its existence.
|
||||||
|
|
||||||
See \helpref{log overview}{wxlogoverview} for the descriptions of wxWindows
|
See \helpref{log overview}{wxlogoverview} for the descriptions of wxWidgets
|
||||||
logging facilities.
|
logging facilities.
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
@@ -456,9 +456,9 @@ object was created.
|
|||||||
|
|
||||||
\section{\class{wxLogGui}}\label{wxloggui}
|
\section{\class{wxLogGui}}\label{wxloggui}
|
||||||
|
|
||||||
This is the default log target for the GUI wxWindows applications. It is passed
|
This is the default log target for the GUI wxWidgets applications. It is passed
|
||||||
to \helpref{wxLog::SetActiveTarget}{wxlogsetactivetarget} at the program
|
to \helpref{wxLog::SetActiveTarget}{wxlogsetactivetarget} at the program
|
||||||
startup and is deleted by wxWindows during the program shut down.
|
startup and is deleted by wxWidgets during the program shut down.
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
@@ -483,7 +483,7 @@ Default constructor.
|
|||||||
This class allows to temporarily suspend logging. All calls to the log
|
This class allows to temporarily suspend logging. All calls to the log
|
||||||
functions during the life time of an object of this class are just ignored.
|
functions during the life time of an object of this class are just ignored.
|
||||||
|
|
||||||
In particular, it can be used to suppress the log messages given by wxWindows
|
In particular, it can be used to suppress the log messages given by wxWidgets
|
||||||
itself but it should be noted that it is rarely the best way to cope with this
|
itself but it should be noted that it is rarely the best way to cope with this
|
||||||
problem as {\bf all} log messages are suppressed, even if they indicate a
|
problem as {\bf all} log messages are suppressed, even if they indicate a
|
||||||
completely different error than the one the programmer wanted to suppress.
|
completely different error than the one the programmer wanted to suppress.
|
||||||
@@ -578,7 +578,7 @@ Default ctor installs this object as the current active log target.
|
|||||||
|
|
||||||
This class can be used to redirect the log messages to a C file stream (not to
|
This class can be used to redirect the log messages to a C file stream (not to
|
||||||
be confused with C++ streams). It is the default log target for the non-GUI
|
be confused with C++ streams). It is the default log target for the non-GUI
|
||||||
wxWindows applications which send all the output to {\tt stderr}.
|
wxWidgets applications which send all the output to {\tt stderr}.
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
@@ -607,7 +607,7 @@ Constructs a log target which sends all the log messages to the given
|
|||||||
|
|
||||||
This class can be used to redirect the log messages to a C++ stream.
|
This class can be used to redirect the log messages to a C++ stream.
|
||||||
|
|
||||||
Please note that this class is only available if wxWindows was compiled with
|
Please note that this class is only available if wxWidgets was compiled with
|
||||||
the standard iostream library support ({\tt wxUSE\_STD\_IOSTREAM} must be on).
|
the standard iostream library support ({\tt wxUSE\_STD\_IOSTREAM} must be on).
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user