]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
22 years agoSWIGged update for wxGTK (the last checkin was really for wxMSW...)
Robin Dunn [Wed, 21 Aug 2002 20:34:48 +0000 (20:34 +0000)] 
SWIGged update for wxGTK  (the last checkin was really for wxMSW...)

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

22 years agocorrected enabling of a specific item by index
Gilles Depeyrot [Wed, 21 Aug 2002 20:20:20 +0000 (20:20 +0000)] 
corrected enabling of a specific item by index

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

22 years agoSWIGged updates for wxGTK
Robin Dunn [Wed, 21 Aug 2002 20:15:42 +0000 (20:15 +0000)] 
SWIGged updates for wxGTK

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

22 years agoVarious changes needed to match recent cvs updates
Robin Dunn [Wed, 21 Aug 2002 20:15:05 +0000 (20:15 +0000)] 
Various changes needed to match recent cvs updates

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

22 years agopolling child process IO seems to work now
Vadim Zeitlin [Wed, 21 Aug 2002 19:49:34 +0000 (19:49 +0000)] 
polling child process IO seems to work now

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

22 years agofixed the async process IO polling code
Vadim Zeitlin [Wed, 21 Aug 2002 19:45:59 +0000 (19:45 +0000)] 
fixed the async process IO polling code

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

22 years agobetter dummy implementation of IsInput/ErrorAvailable() (it's still wrong but now...
Vadim Zeitlin [Wed, 21 Aug 2002 19:44:47 +0000 (19:44 +0000)] 
better dummy implementation of IsInput/ErrorAvailable() (it's still wrong but now no more wrong than before my changes)

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

22 years agoadded propsize to the list of samples
Vadim Zeitlin [Wed, 21 Aug 2002 18:41:23 +0000 (18:41 +0000)] 
added propsize to the list of samples

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

22 years agocompilation fix after my previos m_exitOnFrameDelete changes
Vadim Zeitlin [Wed, 21 Aug 2002 17:04:50 +0000 (17:04 +0000)] 
compilation fix after my previos m_exitOnFrameDelete changes

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

22 years agofixing a possible NULL ptr exception when dispatching key events
Stefan Csomor [Wed, 21 Aug 2002 16:13:57 +0000 (16:13 +0000)] 
fixing a possible NULL ptr exception when dispatching key events

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

22 years agoI think this is now defined in the common accel.h, I'll remove it if no build complai...
Stefan Csomor [Wed, 21 Aug 2002 16:08:29 +0000 (16:08 +0000)] 
I think this is now defined in the common accel.h, I'll remove it if no build complains...

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

22 years agocentralized key handling, control key handling
Stefan Csomor [Wed, 21 Aug 2002 16:07:18 +0000 (16:07 +0000)] 
centralized key handling, control key handling

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

22 years agofix for single item wildcards with no explanatory name item
Stefan Csomor [Wed, 21 Aug 2002 16:06:44 +0000 (16:06 +0000)] 
fix for single item wildcards with no explanatory name item

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

22 years agocentralized key handling
Stefan Csomor [Wed, 21 Aug 2002 16:05:37 +0000 (16:05 +0000)] 
centralized key handling

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

22 years agoregenerated everything
Vadim Zeitlin [Wed, 21 Aug 2002 16:04:34 +0000 (16:04 +0000)] 
regenerated everything

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

22 years agoadded stats target to show the number of translated strings
Vadim Zeitlin [Wed, 21 Aug 2002 16:01:15 +0000 (16:01 +0000)] 
added stats target to show the number of translated strings

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

22 years agoApplied patch [ 598173 ] Fixes erroneous logging notebook sample
Julian Smart [Wed, 21 Aug 2002 15:58:49 +0000 (15:58 +0000)] 
Applied patch [ 598173 ] Fixes erroneous logging notebook sample

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

22 years agoApplied patch [ 598286 ] Fixes uninitted var in drawing sample
Julian Smart [Wed, 21 Aug 2002 15:56:42 +0000 (15:56 +0000)] 
Applied patch [ 598286 ] Fixes uninitted var in drawing sample

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

22 years agoremoved (broken) richedit sample from the list of samples to build
Vadim Zeitlin [Wed, 21 Aug 2002 15:21:26 +0000 (15:21 +0000)] 
removed (broken) richedit sample from the list of samples to build

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

22 years agoOS/2 update to get Tip icon created correctly.
David Webster [Wed, 21 Aug 2002 15:03:18 +0000 (15:03 +0000)] 
OS/2 update to get Tip icon created correctly.

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

22 years agoupdated with the patch from Andrew V. Samoilov
Vadim Zeitlin [Wed, 21 Aug 2002 14:32:41 +0000 (14:32 +0000)] 
updated with the patch from Andrew V. Samoilov

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

22 years agoAdded a line about MINGW32VERSION
Julian Smart [Wed, 21 Aug 2002 07:31:00 +0000 (07:31 +0000)] 
Added a line about MINGW32VERSION

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

22 years agoFile dialog fixes
David Webster [Wed, 21 Aug 2002 04:12:31 +0000 (04:12 +0000)] 
File dialog fixes

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

22 years agoadded wxCheckListBox::HitTest() (modified patch 594524)
Vadim Zeitlin [Tue, 20 Aug 2002 22:55:32 +0000 (22:55 +0000)] 
added wxCheckListBox::HitTest() (modified patch 594524)

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

22 years agotest new wxProcess::IsInputAvailable/Opened functions
Vadim Zeitlin [Tue, 20 Aug 2002 22:33:55 +0000 (22:33 +0000)] 
test new wxProcess::IsInputAvailable/Opened functions

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

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