Commit Graph

19620 Commits

Author SHA1 Message Date
Robert Roebling
f4e0be4f62 Prevent wxMac from creating an epmpty bitmap in a toolbar
if all we want is a separator.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 12:05:49 +00:00
Vadim Zeitlin
2a68b7a07d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 23:11:46 +00:00
Vadim Zeitlin
708c45a6ce return the index of the inserted/appended item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 23:03:07 +00:00
Vadim Zeitlin
f43c777175 use SetClientSize(), not SetSize() in Fit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 22:39:56 +00:00
Mattia Barbon
3ac35b57a6 More compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 21:06:50 +00:00
Vadim Zeitlin
c222be41e7 fixed return value of Disable() (bug 795630)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:56:47 +00:00
Stefan Neis
f877815e1b Fixed several bugs in threading code for OS/2. Thread sample now working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:44:14 +00:00
Stefan Csomor
ba87f54c0d made Update be window local (before was updating the entire window), ScrollWindow now scrolls also invalidated areas and in the end does an Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:32:46 +00:00
Stefan Csomor
3066bdd62a removing all updates specially for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:30:53 +00:00
Mattia Barbon
917ad696df Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 17:55:22 +00:00
Václav Slavík
d10382abd5 removed BuildRequires: wx-base-devel from RPM .spec files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 12:30:09 +00:00
Václav Slavík
03a299ae02 $ causes diff problems here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 10:28:29 +00:00
Václav Slavík
c3b87b2e3c moved compat content to formats, there will be more wx-specific formats
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 10:12:50 +00:00
Václav Slavík
8ce0312ea0 moved compat content to formats, there will be more wx-specific formats
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 10:02:28 +00:00
Václav Slavík
3caa34b771 removed caching from wxInternetFSHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 22:54:45 +00:00
Mattia Barbon
d8771ac734 Fixed bug introduced in fs_zip.cpp when replacing wxHashTableLong
with wxHashMap.
  Made wxHashMap constructor explicit to prevent similar errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 20:10:32 +00:00
Stefan Csomor
584e607406 added WX_IMPLEMENT_PROPERTY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 19:07:58 +00:00
David Elliott
aa992c594e Rename some of the Cocoa methods to reflect that they are implemented
by the NSWindow delegate.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:59:04 +00:00
David Elliott
eb3426e77a Implement windowShouldClose: in delegate instead of class poser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:15:59 +00:00
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