Commit Graph

15080 Commits

Author SHA1 Message Date
Robin Dunn
33b44316a8 Bad copy/paste fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:54:03 +00:00
Robin Dunn
032b1ef198 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:53:24 +00:00
Robin Dunn
2913e597d9 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
2002-08-16 19:52:39 +00:00
Robin Dunn
57ee4c3b3b SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:45:18 +00:00
Robin Dunn
3979290c61 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
2002-08-16 19:44:51 +00:00
Robin Dunn
098be78d39 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
2002-08-16 18:52:16 +00:00
Robin Dunn
366e8ae675 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
2002-08-16 18:50:17 +00:00
Robert Roebling
384a130382 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:39:51 +00:00
Robert Roebling
7b4a847fb9 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
2002-08-16 17:18:09 +00:00
Julian Smart
332b8edbdc Script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:08:47 +00:00
Julian Smart
bf89b538f2 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
2002-08-16 16:18:28 +00:00
Julian Smart
9f4de2dcf8 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
2002-08-16 12:43:07 +00:00
Julian Smart
8f8edad80e 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
2002-08-16 12:22:23 +00:00
Julian Smart
38be1092b6 Added wxMac distrib to tardist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:39:11 +00:00
Julian Smart
af1337b041 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
2002-08-16 11:24:46 +00:00
Julian Smart
cff81649d6 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
2002-08-16 10:51:07 +00:00
Julian Smart
508196798b 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
2002-08-16 10:33:41 +00:00
Julian Smart
6b2878de13 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
2002-08-16 10:31:53 +00:00
Vadim Zeitlin
b13cd66e42 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
2002-08-16 10:28:12 +00:00
Julian Smart
4f3b37fd0e 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
2002-08-16 09:55:54 +00:00
Robin Dunn
3520ad4b92 demo tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 02:27:28 +00:00
Robin Dunn
84c1ffa9cc Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 02:27:12 +00:00
Vadim Zeitlin
42cfcc58ee 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
2002-08-16 00:53:45 +00:00
Vadim Zeitlin
df7145da50 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
2002-08-16 00:48:45 +00:00
Vadim Zeitlin
5c36387841 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
2002-08-16 00:44:03 +00:00
Vadim Zeitlin
3957448a34 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
2002-08-16 00:09:29 +00:00
Vadim Zeitlin
3ab6431727 added missing header to fix wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 22:20:55 +00:00
Vadim Zeitlin
f75363eed1 ExitOnFrame behaviour update for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 22:14:05 +00:00
Robert Roebling
94ac672812 What did I change here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:49:10 +00:00
Robert Roebling
27ff87da23 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
2002-08-15 20:48:02 +00:00
Robert Roebling
6a59178a52 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
2002-08-15 20:47:04 +00:00
Robert Roebling
2e1d710482 Further UNicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:45:58 +00:00
Robert Roebling
acbeb7b368 strings are now wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:43:00 +00:00
Vadim Zeitlin
1cbee0b42c 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
2002-08-15 20:42:07 +00:00
Vadim Zeitlin
62b77e42be 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
2002-08-15 20:38:39 +00:00
Vadim Zeitlin
b79a8705e6 added wxList::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 19:38:46 +00:00
Vadim Zeitlin
57f2b902bc fixed (and slightly cleant up) wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 17:55:03 +00:00
Vadim Zeitlin
1e023926ec 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
2002-08-15 17:47:13 +00:00
Stefan Csomor
2fca5a0004 (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
2002-08-15 13:28:48 +00:00
Robin Dunn
aaad759f90 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
2002-08-14 23:26:42 +00:00
Robin Dunn
a9f4542f8a Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:45 +00:00
Robin Dunn
0b190ffcee 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
2002-08-14 23:25:06 +00:00
Vadim Zeitlin
110d05999f 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
2002-08-14 22:29:58 +00:00
Stefan Csomor
a9169c1bd3 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
2002-08-14 21:46:34 +00:00
Robin Dunn
ad9f1aec63 Fixed wxMSW's EVT_CHAR so it conforms to the docs and also what wxGTK
does already.  IOW, Ctrl-C should result in keycode == 3, not 99.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 21:22:43 +00:00
Václav Slavík
db70a2f20a define wxART_* constanst in way that will make adding XRC support easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 20:04:18 +00:00
Stefan Csomor
b5a8b32f50 fix when not having precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 19:00:05 +00:00
Stefan Csomor
8095ef23e7 attempt to bring event system in synch with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 18:41:12 +00:00
Stefan Csomor
41d368a4bb separated modifier keys handling in order to distinct key/up down events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 17:09:20 +00:00
Vadim Zeitlin
8dcfd2f963 small fix to reduce flicker slightly while dragging the sash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 15:10:30 +00:00