Commit Graph

19451 Commits

Author SHA1 Message Date
David Elliott
78c67cb642 Use a delegate instead of manually adding notifications. Not only is this
less code, but a delegate will be required for future functionality.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:10:23 +00:00
Václav Slavík
5af11a9413 Content-Type parsing should be case insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 09:59:00 +00:00
Vadim Zeitlin
1fa29bdc25 implemented IsModified() and DiscardEdits()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 00:11:09 +00:00
Vadim Zeitlin
6841d412ae don't reset timer interval to 0 in Stop(), this prevents Start(-1) from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 00:05:49 +00:00
Mattia Barbon
e6a14306d1 Added X11 headers used by wxMotif. Removed nonexistsnt
wx/motif/settings.h. Only affects "make install" correctness.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:55:23 +00:00
Mattia Barbon
8879354854 Don't crash in wxControl::GetLabel when getting the label
fails (perhaps because the widget is not realized?).
  Correct wxRTTI information for wxFrame: it derives from
wxTopLevelWindow, not wxWindow.
  Don't try setting Widget size to 0, because it will fail: set
it to 1 instead which is exactly as sensible, but does not crash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:39:37 +00:00
Mattia Barbon
93c83507aa wxString::rfind fixed for wxUSE_STL=0 from Robert Vazan.
Added missing wxArrayString::reserve.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:32:06 +00:00
Mattia Barbon
b2bb920ff6 wxHashMap does not take the key type as constructor argument.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:26:53 +00:00
Václav Slavík
0b92df7943 correction for include name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:24:01 +00:00
Václav Slavík
2da409423d switched to using bakefile_gen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:23:28 +00:00
Václav Slavík
7b5dfe6ce6 gl lib dependency fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 19:59:30 +00:00
Václav Slavík
30bb4ef566 _UNICODE instead of wxUSE_UNICODE=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 19:56:55 +00:00
Václav Slavík
3629838adb added bakefile_gen support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 19:51:53 +00:00
Václav Slavík
a48abb85d1 data copying fixes for configtool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 19:18:06 +00:00
Václav Slavík
1fe1a4dc25 renamed netutils.bkl to net.bkl, to simplify bakefile_gen use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 18:07:06 +00:00
Václav Slavík
d17bdeab1d added hardcoded values for project files, so that they don't have to be passed on command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 18:06:46 +00:00
David Elliott
2fc2d511d0 Send all menu item actions to a dedicated target. This is to ensure
the actions always make it to the proper wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 17:49:51 +00:00
Václav Slavík
0ff1f245a9 make dist fixes belong here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 17:13:21 +00:00
David Elliott
26785f01d0 * Clean up the includes and use wxprec.h
* Wrap toolbar related code in wxUSE_TOOLBAR
* m_frameToolBar was used where m_frameStatusBar should have been.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 16:37:18 +00:00
David Elliott
1d2412f77b CreateToolBar/SetToolBar wrapped in #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 16:34:26 +00:00
Stefan Csomor
ea16189569 -1 , -1 for SetSelection improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 14:42:02 +00:00
Václav Slavík
afe06a5457 unknown container now accepts wxNO_FULL_REPAINT_ON_RESIZE flag (John Anderson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 10:40:43 +00:00
Václav Slavík
56572188ee wxCheckList -> wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 09:36:54 +00:00
Julian Smart
036971cc8c Copy some missing samples, and contrib for Motif/Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 21:27:25 +00:00
Julian Smart
789f8e6ad4 Do archive name case conversion for wxMac and wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 20:22:13 +00:00
Stefan Neis
6691d73700 Don't treat OS/2 as a Unix-like system in this particular file.
This also simplifies some of the #ifdef statments. :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:57:17 +00:00
Stefan Csomor
ffca575c83 WX_EVENT_PROPERTY instead of WX_DELEGATE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:42:14 +00:00
Stefan Neis
64621b078d Never use unix/mimetype.h on OS/2. I'm not exactly sure, if that's the
right thing to do for the X11 ports when running them on OS/2, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:39:24 +00:00
Stefan Neis
15732d07e7 Want to use wxDir::HasSubDirs on OS/2 with gcc, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:19:20 +00:00
Václav Slavík
ed4ccecd55 wxUSE_UNICODE=1 -> _UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:09:15 +00:00
Václav Slavík
fd3eb307a7 wxLayout.cpp is data file as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:08:18 +00:00
Stefan Csomor
c5ca409b6a event exposure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:53:15 +00:00
Stefan Csomor
9d39cef7ef event exposure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:29:58 +00:00
Stefan Csomor
1d73f41603 added support for range types to runtime depersister
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:11:39 +00:00
Stefan Csomor
8edb7cd500 added range of types to delegate type info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:05:59 +00:00
Stefan Csomor
4177a99c30 added range of types for delegate type info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:02:51 +00:00
Stefan Csomor
9a75ecf64a constness for accessors of enum data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 12:17:42 +00:00
Stefan Csomor
25474dcade changed getters for enum to const, GetEventClass to the delegate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 08:10:02 +00:00
Robin Dunn
e55c4dd1b1 Latest distutils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 00:20:37 +00:00
Robin Dunn
21870a5d8d WXMAKINGDLL --> WXMAKINGDLL_CORE and also fixed name of resources file
in multi-lib builds (so it doesn't look for "_core" in the name.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 21:21:50 +00:00
Robin Dunn
b380439d52 Better #if checks for mac in ProcessPlatformProperty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 21:19:30 +00:00
Václav Slavík
84389518ba __WINDOWS__, not __WXMSW__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:56:20 +00:00
Chris Elliott
377c68c5f6 update docs for d_mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:35:48 +00:00
Chris Elliott
f1e269209a fix for d_mars 8.35
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:32:45 +00:00
David Elliott
5aa417d57c Send activate/deactivate events for become/resign key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:30:10 +00:00
David Elliott
720e01c312 Added a notification observer for NSWindow. Observe the become key and
resign key notifications. (window activation in wxWindows parlance)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:28:35 +00:00
Chris Elliott
83f0bdff31 fix makefile (changed filelist)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:28:25 +00:00
Chris Elliott
02490909dc fix minor change to Borland intall instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 09:07:01 +00:00
Chris Elliott
6bddef3669 fix minor change to Borland intall instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 08:28:41 +00:00
Chris Elliott
536284403d remove references to Borland IDE and Cbuilder files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 08:21:09 +00:00