Robert Roebling
127328cdd3
Extra check for GTK2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 17:00:06 +00:00
Robert Roebling
a3c24e91eb
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
2002-08-19 16:59:24 +00:00
Julian Smart
59af5f19d0
Set the selection under Motif in wxChoiceDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 09:59:03 +00:00
David Webster
a23692f070
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
2002-08-19 02:28:02 +00:00
Vadim Zeitlin
9e5b30eb3e
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
2002-08-18 22:50:04 +00:00
Julian Smart
c482b99ec9
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
2002-08-18 22:42:58 +00:00
Václav Slavík
49dd9820ac
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
2002-08-18 17:23:08 +00:00
Julian Smart
2d1084ea5d
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
2002-08-18 08:09:36 +00:00
Václav Slavík
c3ccca4a00
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
2002-08-17 22:24:19 +00:00
Julian Smart
52127426a1
First cut at socket support in wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:19:37 +00:00
Robert Roebling
f06e307501
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
2002-08-17 22:17:07 +00:00
Robert Roebling
3fc306e9c3
Printing paper sizes, file printing, print metrics..
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 21:41:15 +00:00
Vadim Zeitlin
d81cc883bc
some harmless warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 21:00:28 +00:00
Robert Roebling
03914ad4ec
Typos.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 20:50:34 +00:00
Robert Roebling
7291c37aa8
iconv() really never set the trailing 0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:36:07 +00:00
Robin Dunn
2365e5cbcf
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
2002-08-17 19:09:20 +00:00
Robert Roebling
4bc6e5c51a
iconv() doesn't set the trailing zero
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 18:20:53 +00:00
Robert Roebling
3b2e67f672
Another UNicode conversion fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:35:36 +00:00
Robert Roebling
09c9194a19
Printing things.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:04:06 +00:00
Robert Roebling
fb3ed106d1
Compile fixes for ANSI mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:03:01 +00:00
Robert Roebling
eba330067e
Removed all deprecated printing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Robert Roebling
5f1d306901
%s to %ls conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:11:03 +00:00
Vadim Zeitlin
00344dd0f0
compilation fix for wxApp after exitOnFrameDelete changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 23:03:01 +00:00
Vadim Zeitlin
43a997b6e2
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
2002-08-16 22:57:04 +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
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
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
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
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
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
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
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
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
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
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