]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
22 years agoadded and documented wxProcess::Is{Input|Error}Available() and IsInputOpened
Vadim Zeitlin [Tue, 20 Aug 2002 22:33:20 +0000 (22:33 +0000)] 
added and documented wxProcess::Is{Input|Error}Available() and IsInputOpened

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixes for wxExecute() with IO redirection: wxStreamTempInputBuffer is now used under...
Vadim Zeitlin [Tue, 20 Aug 2002 22:32:40 +0000 (22:32 +0000)] 
fixes for wxExecute() with IO redirection: wxStreamTempInputBuffer is now used under MSW as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago1. minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from...
Václav Slavík [Tue, 20 Aug 2002 22:28:15 +0000 (22:28 +0000)] 
1. minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
2. fixed 'platform' property handling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoyet another variation on the same theme: wxMAKE_ART_ID_FROM_STR
Václav Slavík [Tue, 20 Aug 2002 22:27:54 +0000 (22:27 +0000)] 
yet another variation on the same theme: wxMAKE_ART_ID_FROM_STR

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agominor rewrite of XRC's stock_id/stock_client handling, now guesses client id from...
Václav Slavík [Tue, 20 Aug 2002 22:27:24 +0000 (22:27 +0000)] 
minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoremoved a few already implemented entries, added 3-satte checkbox
Vadim Zeitlin [Tue, 20 Aug 2002 19:12:13 +0000 (19:12 +0000)] 
removed a few already implemented entries, added 3-satte checkbox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoOpenGL off by default on Mac, correct scripts to
Julian Smart [Tue, 20 Aug 2002 18:38:05 +0000 (18:38 +0000)] 
OpenGL off by default on Mac, correct scripts to
copy setup0.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agonot necessary anymore
Stefan Csomor [Tue, 20 Aug 2002 18:37:08 +0000 (18:37 +0000)] 
not necessary anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixed compilo (default arg) in joystick constructor
Julian Smart [Tue, 20 Aug 2002 17:16:58 +0000 (17:16 +0000)] 
Fixed compilo (default arg) in joystick constructor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 597700 ] Fix proposal for wxJoystick under MSW
Julian Smart [Tue, 20 Aug 2002 17:16:05 +0000 (17:16 +0000)] 
Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW

Proposed fixes for the wxWindows joystick code under
MSW.
Some of these would be valid for other platforms, too.

Events for buttons are named wrong, docs say different.
Docs say EVT_JOY_BUTTON_DOWN and
EVT_JOY_BUTTON_UP,
but the code says EVT_JOY_DOWN and EVT_JOY_UP. I
suggest
changing the code to match the docs.

wxJoystick::GetNumberJoysticks() should be a static
member
function. Having to create a joystick object to see if there
are joysticks is silly.

Docs for GetNumberJoysticks() must be changed; it returns
the
number of potentially connected joysticks, not the number of
actually connected. Alternatively, GetNumberJoysticks() and
others must be rewritten to conform with documentation,
including
remapping of wxWindows sequential joystick ID's to match
MSW non-sequential joystick ID's.

dwSize is not set when joyGetPosEx() is called. SEVERE
ERROR.

Error return value from functions should not be a legal
return,
for instance, wxJoystick::GetPOVCTSPosition() returns 0
for error,
but this is a legal return value.

GetButtonState() supports only four (out of 32) buttons.
Also, should return as bitmap (LSB = button 1). (Win32
does this,
although not documented as such).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch 548046: wxDebugAlloc & wxDebugFree thread safe
Julian Smart [Tue, 20 Aug 2002 16:57:09 +0000 (16:57 +0000)] 
Applied patch 548046: wxDebugAlloc & wxDebugFree thread safe

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Added scrolling of widgets to GTK 2.0.
Robert Roebling [Tue, 20 Aug 2002 15:48:14 +0000 (15:48 +0000)] 
  Added scrolling of widgets to GTK 2.0.
  Removied obsolete ifdef from toolbar code.
  Updated readme.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Implemented Maximize() etc for GTK 2.0.
Robert Roebling [Tue, 20 Aug 2002 15:44:26 +0000 (15:44 +0000)] 
  Implemented Maximize() etc for GTK 2.0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agorewrote wxString::To/FromAscii() to fix a few small problems
Vadim Zeitlin [Tue, 20 Aug 2002 15:09:27 +0000 (15:09 +0000)] 
rewrote wxString::To/FromAscii() to fix a few small problems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded tests for wxString::To/FromAscii
Vadim Zeitlin [Tue, 20 Aug 2002 15:07:51 +0000 (15:07 +0000)] 
added tests for wxString::To/FromAscii

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't initialize m_str twice in wxCharBuffer ctor
Vadim Zeitlin [Tue, 20 Aug 2002 15:07:24 +0000 (15:07 +0000)] 
don't initialize m_str twice in wxCharBuffer ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed Unicode wxBase config in VC6 project files, there was an extra quote which...
Vadim Zeitlin [Tue, 20 Aug 2002 14:56:45 +0000 (14:56 +0000)] 
fixed Unicode wxBase config in VC6 project files, there was an extra quote which was completely confusing the compiler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded support for wxCONFIG_USE_NO_ESCAPE_CHARACTERS flag to wxFileConfig (patch 591381)
Vadim Zeitlin [Tue, 20 Aug 2002 14:29:22 +0000 (14:29 +0000)] 
added support for wxCONFIG_USE_NO_ESCAPE_CHARACTERS flag to wxFileConfig (patch 591381)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed error message when long options are disabled (patch 597771)
Vadim Zeitlin [Tue, 20 Aug 2002 14:15:42 +0000 (14:15 +0000)] 
fixed error message when long options are disabled (patch 597771)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded brief instructions for compiling wxMSW with configure
Julian Smart [Tue, 20 Aug 2002 14:11:55 +0000 (14:11 +0000)] 
Added brief instructions for compiling wxMSW with configure

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded mentions of internat sample
Vadim Zeitlin [Tue, 20 Aug 2002 13:41:45 +0000 (13:41 +0000)] 
added mentions of internat sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed m_relative initialization in wxFileName default ctor and Clear() (patch 597736)
Vadim Zeitlin [Tue, 20 Aug 2002 13:28:51 +0000 (13:28 +0000)] 
fixed m_relative initialization in wxFileName default ctor and Clear() (patch 597736)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoupdated mutex and semaphore docs to reflect the new API (patch 593994)
Vadim Zeitlin [Tue, 20 Aug 2002 13:25:21 +0000 (13:25 +0000)] 
updated mutex and semaphore docs to reflect the new API (patch 593994)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoremoved extra semi colon which provoked CW warnings (replaces patch 596658)
Vadim Zeitlin [Tue, 20 Aug 2002 13:21:02 +0000 (13:21 +0000)] 
removed extra semi colon which provoked CW warnings (replaces patch 596658)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoremoved extra semi colon which provoked CW warnings (part of patch 596658)
Vadim Zeitlin [Tue, 20 Aug 2002 13:19:33 +0000 (13:19 +0000)] 
removed extra semi colon which provoked CW warnings (part of patch 596658)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoIncremented version number
Julian Smart [Tue, 20 Aug 2002 11:51:14 +0000 (11:51 +0000)] 
Incremented version number

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago-enable-mdi for X11 now works
Julian Smart [Tue, 20 Aug 2002 10:01:52 +0000 (10:01 +0000)] 
-enable-mdi for X11 now works

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded generic MDI files
Julian Smart [Tue, 20 Aug 2002 09:27:29 +0000 (09:27 +0000)] 
Added generic MDI files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 597398 ] Generic MDI, wxNotebook based.
Julian Smart [Tue, 20 Aug 2002 09:09:55 +0000 (09:09 +0000)] 
Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 597320 ] Return wxNotebook::SetSelection value
Julian Smart [Tue, 20 Aug 2002 08:34:05 +0000 (08:34 +0000)] 
Applied patch [ 597320 ] Return wxNotebook::SetSelection value

By Hans Van Leemputten (hansvl)

According to the documentation
wxNotebook::SetSelection() should return the previous
selection... (Like wxMSW does) but the wxUniv version
returns the currently selected selection.

Patch was tested with wxX11.

Applied patch [ 597313 ] Popup menu still used after deletion

By Hans Van Leemputten (hansvl)

- This patch exists out of 2 parts;

Part 1 is a patch to show the problem with the menu
sample (this part is just to show the problem and should
not be put into CVS!).

Part 2 is the fix and should be put in CVS.
(src/univ/menu.cpp)

- Instructions to reproduce the problem with the menu
sample:
1. Apply part 1 of the patch only.
2. Run the sample after recompiling it.
3. Press "Close Test" -> "Close", this will basically
remove the current menu bar and recreate it again and
re-use the menu item "Close test" from the old menu
bar...
4. Again press "Close Test", doing this will already
crash the sample.

- The cause of the problem is that the m_popupMenu in
wxMenu is deleted because it is a child of the old menu
bar (Note: it does not get destroyed by the wxMenu
destructor, but by DestroyChildren()) and m_popupMenu
is not put back to NULL when this happens...

- This patch was tested only with wxX11.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoReordered ClearCache calls as per Roger Chickering's suggestion.
Julian Smart [Tue, 20 Aug 2002 08:13:22 +0000 (08:13 +0000)] 
Reordered ClearCache calls as per Roger Chickering's suggestion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFileDlg updates.
David Webster [Tue, 20 Aug 2002 05:00:48 +0000 (05:00 +0000)] 
FileDlg updates.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoreverted Robert's preference for tables-driven EC_CharSet
Václav Slavík [Mon, 19 Aug 2002 23:09:18 +0000 (23:09 +0000)] 
reverted Robert's preference for tables-driven EC_CharSet

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoWeekly updates and file dialog implementation
David Webster [Mon, 19 Aug 2002 22:22:31 +0000 (22:22 +0000)] 
Weekly updates and file dialog implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocorrected button modifier state in carbon, cursor setup corrected
Stefan Csomor [Mon, 19 Aug 2002 19:40:28 +0000 (19:40 +0000)] 
corrected button modifier state in carbon, cursor setup corrected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agowxMac needs same cursor setup for cursor as GTK and MSW
Stefan Csomor [Mon, 19 Aug 2002 19:36:19 +0000 (19:36 +0000)] 
wxMac needs same cursor setup for cursor as GTK and MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoconst char correction for mac
Stefan Csomor [Mon, 19 Aug 2002 19:34:13 +0000 (19:34 +0000)] 
const char correction for mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Lots more Unicode fixes.
Robert Roebling [Mon, 19 Aug 2002 17:02:10 +0000 (17:02 +0000)] 
  Lots more Unicode fixes.
  wxClipboard fixes for GTK2 and UTF8.
  wxFileConfig now uses wxConvLocal to convert text
    and doesn't crash anymore..

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Extra check for GTK2.
Robert Roebling [Mon, 19 Aug 2002 17:00:06 +0000 (17:00 +0000)] 
  Extra check for GTK2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Make wxTELETYPE and wxMODERN map to monospaced fonts.
Robert Roebling [Mon, 19 Aug 2002 16:59:24 +0000 (16:59 +0000)] 
  Make wxTELETYPE and wxMODERN map to monospaced fonts.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded EVT_JOY_BUTTON_... macros as per the manual,
Julian Smart [Mon, 19 Aug 2002 16:09:40 +0000 (16:09 +0000)] 
Added EVT_JOY_BUTTON_... macros as per the manual,
retained the old names for compatibility.
Changed 2.3.2 to 2.3.3 in a couple of files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoRemoved an old email address
Julian Smart [Mon, 19 Aug 2002 10:03:20 +0000 (10:03 +0000)] 
Removed an old email address

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSet the selection under Motif in wxChoiceDialog
Julian Smart [Mon, 19 Aug 2002 09:59:03 +0000 (09:59 +0000)] 
Set the selection under Motif in wxChoiceDialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoWeekly catchup as well as better font and fontdlg support
David Webster [Mon, 19 Aug 2002 02:28:02 +0000 (02:28 +0000)] 
Weekly catchup as well as better font and fontdlg support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoupdates mostly for better font support and some weekly catch-up work
David Webster [Mon, 19 Aug 2002 02:24:22 +0000 (02:24 +0000)] 
updates mostly for better font support and some weekly catch-up work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agosome OS/2 updates
David Webster [Mon, 19 Aug 2002 02:23:40 +0000 (02:23 +0000)] 
some OS/2 updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoneed for VisualAge to include wchar.h
David Webster [Mon, 19 Aug 2002 02:22:46 +0000 (02:22 +0000)] 
need for VisualAge to include wchar.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed wxBase compilation (what was msgdlg.h doing in wxchar.cpp?)
Vadim Zeitlin [Sun, 18 Aug 2002 22:50:04 +0000 (22:50 +0000)] 
fixed wxBase compilation (what was msgdlg.h doing in wxchar.cpp?)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoUse wxGenericImageList for wxMSW/wxUniv now; this
Julian Smart [Sun, 18 Aug 2002 22:42:58 +0000 (22:42 +0000)] 
Use wxGenericImageList for wxMSW/wxUniv now; this
allows us to remove the MSW-specific code in wxUniv's wxNotebook
(maybe elsewhere?)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFurther installation fixes
Julian Smart [Sun, 18 Aug 2002 18:24:23 +0000 (18:24 +0000)] 
Further installation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't crash if used in iconv-like fashion
Václav Slavík [Sun, 18 Aug 2002 17:23:08 +0000 (17:23 +0000)] 
don't crash if used in iconv-like fashion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoCorrected HTML index, other distro-related tweaks
Julian Smart [Sun, 18 Aug 2002 14:10:52 +0000 (14:10 +0000)] 
Corrected HTML index, other distro-related tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoDon't compile socket table if wxUSE_SOCKET is 0.
Julian Smart [Sun, 18 Aug 2002 08:09:36 +0000 (08:09 +0000)] 
Don't compile socket table if wxUSE_SOCKET is 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agomake it possible to easily define artID from a string (for XRC)
Václav Slavík [Sat, 17 Aug 2002 22:24:34 +0000 (22:24 +0000)] 
make it possible to easily define artID from a string (for XRC)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agosimpler fix for locale catalogs lookup bug (better one will hopefully follow)
Václav Slavík [Sat, 17 Aug 2002 22:24:19 +0000 (22:24 +0000)] 
simpler fix for locale catalogs lookup bug (better one will hopefully follow)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFirst cut at socket support in wxX11
Julian Smart [Sat, 17 Aug 2002 22:19:37 +0000 (22:19 +0000)] 
First cut at socket support in wxX11

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Put various #ifdefs vsnprintf() back in, they were
Robert Roebling [Sat, 17 Aug 2002 22:17:07 +0000 (22:17 +0000)] 
  Put various #ifdefs vsnprintf() back in, they were
    lost in today's changes..

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Printing paper sizes, file printing, print metrics..
Robert Roebling [Sat, 17 Aug 2002 21:41:15 +0000 (21:41 +0000)] 
  Printing paper sizes, file printing, print metrics..

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agosome harmless warning fixes
Vadim Zeitlin [Sat, 17 Aug 2002 21:00:28 +0000 (21:00 +0000)] 
some harmless warning fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Typos.
Robert Roebling [Sat, 17 Aug 2002 20:50:34 +0000 (20:50 +0000)] 
   Typos.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago iconv() really never set the trailing 0.
Robert Roebling [Sat, 17 Aug 2002 19:36:07 +0000 (19:36 +0000)] 
  iconv() really never set the trailing 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoTweaked python image output slightly
Robin Dunn [Sat, 17 Aug 2002 19:12:21 +0000 (19:12 +0000)] 
Tweaked python image output slightly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoPut the page in the event for all event types
Robin Dunn [Sat, 17 Aug 2002 19:09:20 +0000 (19:09 +0000)] 
Put the page in the event for all event types

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded wxWizard and the wizard page classes, as well as a wizard sample
Robin Dunn [Sat, 17 Aug 2002 19:08:21 +0000 (19:08 +0000)] 
Added wxWizard and the wizard page classes, as well as a wizard sample
in the demo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixed wxPython's wxArt constants
Robin Dunn [Sat, 17 Aug 2002 19:07:19 +0000 (19:07 +0000)] 
Fixed wxPython's wxArt constants

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago iconv() doesn't set the trailing zero
Robert Roebling [Sat, 17 Aug 2002 18:20:53 +0000 (18:20 +0000)] 
  iconv() doesn't set the trailing zero

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Another UNicode conversion fix.
Robert Roebling [Sat, 17 Aug 2002 17:35:36 +0000 (17:35 +0000)] 
  Another UNicode conversion fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoRemoved excess distribution archives
Julian Smart [Sat, 17 Aug 2002 17:29:57 +0000 (17:29 +0000)] 
Removed excess distribution archives

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Printing things.
Robert Roebling [Sat, 17 Aug 2002 17:04:06 +0000 (17:04 +0000)] 
  Printing things.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Compile fixes for ANSI mode.
Robert Roebling [Sat, 17 Aug 2002 17:03:01 +0000 (17:03 +0000)] 
  Compile fixes for ANSI mode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Removed all deprecated printing code.
Robert Roebling [Sat, 17 Aug 2002 16:29:05 +0000 (16:29 +0000)] 
  Removed all deprecated printing code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoScript mods
Julian Smart [Sat, 17 Aug 2002 12:11:41 +0000 (12:11 +0000)] 
Script mods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago %s to %ls conversion
Robert Roebling [Sat, 17 Aug 2002 12:11:03 +0000 (12:11 +0000)] 
 %s to %ls conversion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Convert %s to %ls and %c to %lc in printf and scanf etc.
Robert Roebling [Sat, 17 Aug 2002 12:09:48 +0000 (12:09 +0000)] 
  Convert %s to %ls and %c to %lc in printf and scanf etc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoRemove mmedia makefile for wxMac
Julian Smart [Sat, 17 Aug 2002 11:31:57 +0000 (11:31 +0000)] 
Remove mmedia makefile for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoRemoved all trace of richedit from scripts
Julian Smart [Sat, 17 Aug 2002 07:44:19 +0000 (07:44 +0000)] 
Removed all trace of richedit from scripts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocompilation fix for wxApp after exitOnFrameDelete changes
Vadim Zeitlin [Fri, 16 Aug 2002 23:03:01 +0000 (23:03 +0000)] 
compilation fix for wxApp after exitOnFrameDelete changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoa better fix for notebook page not being refreshed after Delete()
Vadim Zeitlin [Fri, 16 Aug 2002 22:57:04 +0000 (22:57 +0000)] 
a better fix for notebook page not being refreshed after Delete()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMore script tweaks
Julian Smart [Fri, 16 Aug 2002 22:29:52 +0000 (22:29 +0000)] 
More script tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoCorrected SVG makefile
Julian Smart [Fri, 16 Aug 2002 22:29:33 +0000 (22:29 +0000)] 
Corrected SVG makefile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoCorrected files for PDF RTF
Julian Smart [Fri, 16 Aug 2002 21:07:48 +0000 (21:07 +0000)] 
Corrected files for PDF RTF

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoTweaks to distrib scripts
Julian Smart [Fri, 16 Aug 2002 20:41:30 +0000 (20:41 +0000)] 
Tweaks to distrib scripts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoBad copy/paste fix
Robin Dunn [Fri, 16 Aug 2002 19:54:03 +0000 (19:54 +0000)] 
Bad copy/paste fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSWIGged updates for wxMSW
Robin Dunn [Fri, 16 Aug 2002 19:53:24 +0000 (19:53 +0000)] 
SWIGged updates for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoDon't send EVT_KILL_FOCUS when the window is in the process of being
Robin Dunn [Fri, 16 Aug 2002 19:52:39 +0000 (19:52 +0000)] 
Don't send EVT_KILL_FOCUS when the window is in the process of being
deleted.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSWIGged update for wxGTK
Robin Dunn [Fri, 16 Aug 2002 19:45:18 +0000 (19:45 +0000)] 
SWIGged update for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoReorganized listctrl demo a bit so I can test a bug report
Robin Dunn [Fri, 16 Aug 2002 19:44:51 +0000 (19:44 +0000)] 
Reorganized listctrl demo a bit so I can test a bug report

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agowxPython needs to deal with the new exitOnFrameDelete policy too.
Robin Dunn [Fri, 16 Aug 2002 18:52:16 +0000 (18:52 +0000)] 
wxPython needs to deal with the new exitOnFrameDelete policy too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoExit on frame delete is now initialized and handled in AppBase.
Robin Dunn [Fri, 16 Aug 2002 18:50:17 +0000 (18:50 +0000)] 
Exit on frame delete is now initialized and handled in AppBase.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Compile fix.
Robert Roebling [Fri, 16 Aug 2002 17:39:51 +0000 (17:39 +0000)] 
 Compile fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Exchanged compile flags so that local include paths
Robert Roebling [Fri, 16 Aug 2002 17:18:09 +0000 (17:18 +0000)] 
  Exchanged compile flags so that local include paths
    are used before others (such as PangoFT2'2).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoScript tweaks
Julian Smart [Fri, 16 Aug 2002 17:08:47 +0000 (17:08 +0000)] 
Script tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 596061 ] Adds more navigation buttons to preview
Julian Smart [Fri, 16 Aug 2002 16:18:28 +0000 (16:18 +0000)] 
Applied patch [ 596061 ] Adds more navigation buttons to preview
By Juergen Geltinger (jgelti)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 566816 ] adds xBase type for Sequiter's SQL/ODBC
Julian Smart [Fri, 16 Aug 2002 12:43:07 +0000 (12:43 +0000)] 
Applied patch [ 566816 ] adds xBase type for Sequiter's SQL/ODBC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFix for Unices with small command line space
Julian Smart [Fri, 16 Aug 2002 12:22:23 +0000 (12:22 +0000)] 
Fix for Unices with small command line space

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded wxMac distrib to tardist
Julian Smart [Fri, 16 Aug 2002 11:39:11 +0000 (11:39 +0000)] 
Added wxMac distrib to tardist

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied [ 594925 ] Implement wxArtProvider and XRC together
Julian Smart [Fri, 16 Aug 2002 11:24:46 +0000 (11:24 +0000)] 
Applied [ 594925 ] Implement wxArtProvider and XRC together
By Robert O'Connor (robertoconnor)

This patch is a draft which successfully allows a wxArtProvider to serve out icons to bitmaps for XRC files.

The syntax to use a wxArtProvider bitmap is:
<bitmap stock_id="wxART_INFORMATION" stock_client="wxART_TOOLBAR">somefallbackicon.png</bitmap>

The bitmap is optional, and will only be used as a fallback image, if the wxArtProvider returned a wxNullBitmap for some reason.

The client attribute, if not specified, currently will be wxART_OTHER. Perhaps there should be a guessing heuristic of it being in a menu node to call wxART_MENU.

Usage of XRC resouces and wxArtProvider together can be seen in an updated /contrib/samples/xrc demo, which is a separate patch.

Search the wx-dev mailing lists for "wxArtProvider" and "XRC" for the full discussions on this feature's API design.

Applied patch [ 594932 ] Extended XRC XML resources sample
By Robert O'Connor (robertoconnor)

This is a more comprehensive introduction to how to get up and running using XRC in your new wxWindows project.

It describes both the basics (for new users) and advanced features. It consists of a demo of dialogs and frames loaded from XRC. Each dialog has a textctrl at the top of the dialog, which walks the new user through that feature.

There are 8 demos:

The 4 basic ones:
-A non-derived dialog, as typically used for an about dialog.
-A derived dialog that loads its resources from an XRC (a frequently-asked question on the mailing lists), and responds to some simple events, including the disable-another-control-via-EVT_UPDATE_UI that is another FAQ, and powerful and simple-to-use feature.
-A XRC reference "Controls" dialog, using a notebook. Each tab has a single control. All XRC handled widgets can be seen at a glance, and how to use them under XRC.
-An uncentered dialog, to demonstrate the easy use of <centered>1</centered> to automatically place a Dialog centered on its parent..

The 4 advanced ones:
-Embedding a custom class into an XRC dialog, by using the "unknown" class.
-Using wxArtProvider to use stock icons from within your your XRC resources.
-Using the platform attribute to selectively show a part of XRC based on the current OS.
-Runtime variable expansion (demo only. Not implemented at this time).

Also:
-The main frame is now demonstrated as being loaded as an XRC.
- The toolbar has longhelp tag demonstrated, and are hooked up to the same events as the menu to show how XRCID() works on the same tool and menuitem XRCID.
-Some custom icons for the demonstration were created, and put into the toolbar and menubar. A custom icon also for the demonstration.
-The example code has been put in 1 class per file (both .cpp and a matching .xrc), to make it much less confusing for a newcomer to figure out what class is what, expecially with all the wx macros for declaration and implementation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied [ 594745 ] Fixes core dump under Forte 6U1 in imagbmp.cpp
Julian Smart [Fri, 16 Aug 2002 10:51:07 +0000 (10:51 +0000)] 
Applied [ 594745 ] Fixes core dump under Forte 6U1 in imagbmp.cpp
By John Skiff
I was getting a core dump under Solaris 2.6 when
storing images. My compiler is Forte 6 Update 1. The
problem was in imagbmp.cpp:

t@1 (l@1) signal BUS (invalid address alignment) in
wxANIHandler::DoCanRead at line 1304 in file "imagbmp.cpp"
1304 if ( FCC1 != *riff32 )
(dbx) p FCC1
FCC1 = 31064321
(dbx) p *riff32
*riff32 = 1380533830
(dbx)

I have tested the fix under Windows 2000, Solaris 2.6,
and Irix 6.5.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 594717 ] Implements wxFRAME_FLOAT_ON_PARENT
Julian Smart [Fri, 16 Aug 2002 10:33:41 +0000 (10:33 +0000)] 
Applied patch [ 594717 ] Implements wxFRAME_FLOAT_ON_PARENT
By John Skiff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 594623 ] FL: No Taskbar entry for tool windows
Julian Smart [Fri, 16 Aug 2002 10:31:53 +0000 (10:31 +0000)] 
Applied patch [ 594623 ] FL: No Taskbar entry for tool windows
and also replaced -with-iodbc with -with-odbc in the docs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775