Commit Graph

14843 Commits

Author SHA1 Message Date
Robin Dunn
92e898b0b4 Added generic LoadObject methods that can load any classtype from a
resources and return it as a wxObject (Assuming there is a handler for
it.)

Enabled wxFrames and wxDialogs to be loaded using a new instance
rather than only with existing instances.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:26:13 +00:00
Vadim Zeitlin
cdb105516c mention the key code changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 20:35:24 +00:00
Vadim Zeitlin
74ee96987a compilation fix for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 19:53:25 +00:00
Vadim Zeitlin
a8bf182601 fixed some GTK2 compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 19:01:47 +00:00
Václav Slavík
904a226c23 applied patch #599264 (fixes to wxrc -g)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:52:31 +00:00
Robin Dunn
dc0ace7cdd Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:21:05 +00:00
Vadim Zeitlin
7475e8a313 fixed crash when calling Delete(root) and also when calling Delete(descendant_of_selected_item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:05:58 +00:00
Ron Lee
76432737a5 removed #include shlobj.h -- it breaks mingw32 wxBase builds ( needs -fvtable-thunks )
and appears to be unneccessary for mingw32 gui builds.  It's been around since 1.1 so
I'm blindly guessing no one else will need it now either.  If that's wrong, please wrap
it in USE_GUI, thanks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:05:11 +00:00
Vadim Zeitlin
dd0e4a9047 fix wxMotif sample program compile test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 17:43:51 +00:00
Vadim Zeitlin
1d65a68f65 define wxUSE_XPM_IN_MSW for MSW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 16:54:04 +00:00
Vadim Zeitlin
bac409a004 compilation fix for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 16:00:32 +00:00
Vadim Zeitlin
a81705a3d4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 15:59:29 +00:00
Stefan Csomor
202848fe9e removed WXK_SPACE as duplicating the selection event, added theme text drawing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:35:44 +00:00
Stefan Csomor
9210422353 fixed selection handling and added default/cancel handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:17:28 +00:00
Stefan Csomor
4dcf0afed7 setting the current event record correctly (needed for control text handling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:16:55 +00:00
Stefan Csomor
fd76aa8d8a make sure we don't keep a focus pointer to a window that gets deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 13:31:14 +00:00
Stefan Csomor
ef08713a5b brought key values of EVT_KEY and EVT_CHAR in synch with wxMSW and wxGTK...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 12:43:28 +00:00
Stefan Csomor
26bea6ac6d added wxSIZE_T.. defines (every release of CW has a different typedef but I hope they all end up as unsigned long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 12:41:01 +00:00
Julian Smart
1fc32b12ee Misc mods for feedback from Marcin Wojdyr <wojdyr@if.pw.edu.pl>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 11:57:10 +00:00
Julian Smart
fde719f935 Updated release scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 11:29:27 +00:00
Stefan Csomor
867e99f57d switched to MacOS 8.5+ implementation for submenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 09:20:10 +00:00
Stefan Csomor
404dfcae70 added test for m_macControlIsShown in MacRedrawControl apparently HideControl does not work correctly for all controls...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 07:25:39 +00:00
Ron Lee
738aea8e0f add libwx_dcsvg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:50:23 +00:00
Ron Lee
fdb599058d Updates for 2.3.3 debs.
Typo fix for start of local event id's.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:33:12 +00:00
Vadim Zeitlin
72383a729f blind fix for gcc warning about ?: and different enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:25:42 +00:00
Robin Dunn
dd4aa550ab Only catch exact menu range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:25:34 +00:00
Vadim Zeitlin
aafbc3454c fix for gcc warning about incorrect format arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:22:45 +00:00
Vadim Zeitlin
d2aa73a8a6 gcc warning about unused smile fixed (that's serious stuff)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:20:40 +00:00
Julian Smart
95c0018510 Tidied up filename.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 22:03:09 +00:00
Julian Smart
eca2483012 Create STC lib in standard lib dir as per other project
and makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 22:02:46 +00:00
Julian Smart
146f8b59b3 Added CW for Mac list file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 21:22:33 +00:00
Vadim Zeitlin
7fb1b2b4c4 fixed default button handling: don't keep BS_DEFPUSHBUTTON style when the app loses focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 20:34:29 +00:00
Vadim Zeitlin
cdfb1ae1bc fixed a few typoes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 20:14:47 +00:00
Vadim Zeitlin
8b1d8f3611 gcc 3.1 warning fixes (patch 598343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 19:22:52 +00:00
Vadim Zeitlin
5f3455052c compilation fix (patch 598331)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:12:01 +00:00
Vadim Zeitlin
bdf5c30deb fix for wxComboBox flicker on create (patch 598891)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:11:27 +00:00
Vadim Zeitlin
80695f83d3 removed debugging code from the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:38 +00:00
Vadim Zeitlin
5036ea9074 send event from Clear() for a simple text control, send only one event from SetValue() instead of 2 for a rich one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:16 +00:00
Vadim Zeitlin
674c474f20 mention that Clear() and SetValue() *will* send EVT_TEXT events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:01:38 +00:00
Stefan Csomor
fac9b0cf88 fixed mounting points under /Volumes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:44:43 +00:00
Vadim Zeitlin
33c8cf5e8c use SendSizeEvent() to resize the button correctly after reparenting under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:04:06 +00:00
Vadim Zeitlin
a4f25aef35 made wxFrame::SendSizeEvent() public and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:03:38 +00:00
Vadim Zeitlin
2eb4c3aabe reverted patch 598016 (removed MSWCreateControl() visible parameter)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 16:00:45 +00:00
Julian Smart
a9c824e90f OnSize must not be skipped for non-wxX11 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 15:44:34 +00:00
Julian Smart
c832ef4985 Applied patch [ 598016 ] remove flicker during combo box creation
By Benjamin I. Williams (biwillia76)

The attached patch completely fixes the flicker problem when
creating combo boxes.  It also will make it elementary to
remove flicker during the creation of other controls
(although all the other controls are flicker free, AFAIK).
It does this by adding an optional 'visible' parameter to
the internal MSWCreateControl method, whereby the caller can
create a control invisibly by default, perform some
complicated sizing calculations, and then finally show the
control before the Create finished.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 09:41:05 +00:00
Stefan Csomor
0e7fa78358 added error code for better debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 08:48:14 +00:00
Stefan Csomor
f125ccf240 fix when bitmap is not valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 08:47:34 +00:00
Stefan Csomor
bfc2bf628f fix for getting proper fspecs for volumes that are not given with the trailing separator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 08:46:52 +00:00
David Webster
9e25f50910 Minor slider fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 04:59:03 +00:00
David Webster
1b75810c8d Font updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 01:02:37 +00:00