wxWidgets.git
21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 years agoonly test for pangoft2 if we're using GTK 2
Vadim Zeitlin [Fri, 16 Aug 2002 10:28:12 +0000 (10:28 +0000)] 
only test for pangoft2 if we're using GTK 2

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

21 years agoApplied patch [ 594416 ] MDI Previous Child
Julian Smart [Fri, 16 Aug 2002 09:55:54 +0000 (09:55 +0000)] 
Applied patch [ 594416 ] MDI Previous Child
From Benjamin I. Williams

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

21 years agodemo tweak
Robin Dunn [Fri, 16 Aug 2002 02:27:28 +0000 (02:27 +0000)] 
demo tweak

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

21 years agoCompile fix
Robin Dunn [Fri, 16 Aug 2002 02:27:12 +0000 (02:27 +0000)] 
Compile fix

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

21 years agowxCheckWindowWndProc() now checks for the original window proc in the window class...
Vadim Zeitlin [Fri, 16 Aug 2002 00:53:45 +0000 (00:53 +0000)] 
wxCheckWindowWndProc() now checks for the original window proc in the window class and not for the current (possibly subclasses) window proc

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

21 years agochange the selection appropriately (and refresh it as needed) after deleting a notebo...
Vadim Zeitlin [Fri, 16 Aug 2002 00:48:45 +0000 (00:48 +0000)] 
change the selection appropriately (and refresh it as needed) after deleting a notebook page

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

21 years agofix for the bug introduced by the last commit: don't quit the program when a standard...
Vadim Zeitlin [Fri, 16 Aug 2002 00:44:03 +0000 (00:44 +0000)] 
fix for the bug introduced by the last commit: don't quit the program when a standard msg box is closed

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

21 years agoadded a command to delete last page and not only the current one
Vadim Zeitlin [Fri, 16 Aug 2002 00:09:29 +0000 (00:09 +0000)] 
added a command to delete last page and not only the current one

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

21 years agoadded missing header to fix wxGTK compilation
Vadim Zeitlin [Thu, 15 Aug 2002 22:20:55 +0000 (22:20 +0000)] 
added missing header to fix wxGTK compilation

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

21 years agoExitOnFrame behaviour update for wxMac
Vadim Zeitlin [Thu, 15 Aug 2002 22:14:05 +0000 (22:14 +0000)] 
ExitOnFrame behaviour update for wxMac

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

21 years ago What did I change here?
Robert Roebling [Thu, 15 Aug 2002 20:49:10 +0000 (20:49 +0000)] 
 What did I change here?

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

21 years ago Fix to not break GTK2 output. (wxLogMessage bug).
Robert Roebling [Thu, 15 Aug 2002 20:48:02 +0000 (20:48 +0000)] 
  Fix to not break GTK2 output. (wxLogMessage bug).

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

21 years ago wxTextDataObject should convert to and
Robert Roebling [Thu, 15 Aug 2002 20:47:04 +0000 (20:47 +0000)] 
  wxTextDataObject should convert to and
    from UTF8 in Unicode mode under GTK.

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

21 years ago Further UNicode fixes.
Robert Roebling [Thu, 15 Aug 2002 20:45:58 +0000 (20:45 +0000)] 
  Further UNicode fixes.

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

21 years ago strings are now wxChar
Robert Roebling [Thu, 15 Aug 2002 20:43:00 +0000 (20:43 +0000)] 
  strings are now wxChar

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

21 years agothe app doesn't exit any more if a dialog is shown (and destroyed) while
Vadim Zeitlin [Thu, 15 Aug 2002 20:42:07 +0000 (20:42 +0000)] 
the app doesn't exit any more if a dialog is shown (and destroyed) while
the flow of control is still in OnInit()

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

21 years agosome old minor doc fixes I forgot to commit somehow
Vadim Zeitlin [Thu, 15 Aug 2002 20:38:39 +0000 (20:38 +0000)] 
some old minor doc fixes I forgot to commit somehow

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

21 years agoadded wxList::IsEmpty()
Vadim Zeitlin [Thu, 15 Aug 2002 19:38:46 +0000 (19:38 +0000)] 
added wxList::IsEmpty()

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

21 years agofixed (and slightly cleant up) wxGTK compilation
Vadim Zeitlin [Thu, 15 Aug 2002 17:55:03 +0000 (17:55 +0000)] 
fixed (and slightly cleant up) wxGTK compilation

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

21 years agofixed a harmless warning (patch 595096) and added a comment
Vadim Zeitlin [Thu, 15 Aug 2002 17:47:13 +0000 (17:47 +0000)] 
fixed a harmless warning (patch 595096) and added a comment

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

21 years ago(hopefully) workaround for a carbon bug not always setting the modifiers event record...
Stefan Csomor [Thu, 15 Aug 2002 13:28:48 +0000 (13:28 +0000)] 
(hopefully) workaround for a carbon bug not always setting the modifiers event record field.

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

21 years agoAllow AddWindow and RemoveWindow to be overridden in classes derived
Robin Dunn [Wed, 14 Aug 2002 23:26:42 +0000 (23:26 +0000)] 
Allow AddWindow and RemoveWindow to be overridden in classes derived
in Python

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

21 years agoTypo fixed
Robin Dunn [Wed, 14 Aug 2002 23:25:45 +0000 (23:25 +0000)] 
Typo fixed

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

21 years agoBugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
Robin Dunn [Wed, 14 Aug 2002 23:25:06 +0000 (23:25 +0000)] 
Bugfix for wxListCtrl::GetColumn.  It wasn't checking the returned format correctly.

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

21 years agofixed the paths of the theme files in the VC++ wxUniv project
Vadim Zeitlin [Wed, 14 Aug 2002 22:29:58 +0000 (22:29 +0000)] 
fixed the paths of the theme files in the VC++ wxUniv project

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

21 years agoadded key code fix to carbon event handler
Stefan Csomor [Wed, 14 Aug 2002 21:46:34 +0000 (21:46 +0000)] 
added key code fix to carbon event handler

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