Commit Graph

33150 Commits

Author SHA1 Message Date
David Surovell
5aa67d6619 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:04:57 +00:00
Julian Smart
b910a8add4 Fixes/makefiles for building data view control on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 21:28:24 +00:00
Robert Roebling
4064f7deac Take into account cell's own size, not only the
space allocated to it (mostly much more).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 19:00:53 +00:00
Stefan Csomor
55f5548f78 filedata implementation streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:18:20 +00:00
Stefan Csomor
d7b284e5c6 implementation streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:16:02 +00:00
Stefan Csomor
3a4abf8055 setting the hacked cocoa font panel as default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:11:54 +00:00
Stefan Csomor
fbb7ee81b4 convenience methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:09:04 +00:00
Stefan Csomor
bcd9697973 better file data support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:06:28 +00:00
Vadim Zeitlin
f2fb22f9b9 fixed last commit which accidentally included parts of upcoming size_t/unsigned patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 17:45:00 +00:00
Julian Smart
e557031896 Added missing declarations required for e.g. VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 17:15:47 +00:00
Vadim Zeitlin
e3e78de1b8 Minor fixes after last commit:
1. don't pass -1 to base class DoSetSize(), this is documented to not work
   under Win2k
2. instead, don't do anything at all if neither size nor position changed
3. only call DoGetSize() once instead of doing it in both if branches
4. added comment about 30000 returned by CB_GETDROPPEDCONTROLRECT


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:56:19 +00:00
Vadim Zeitlin
27b436242e 1. fixed compilation after wxList::compatibility_iterator changes
2. removed #if wxUSE_STL tests which are not needed any longer
3. better fix for SetCurrent() virtual hiding: just rename the method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:29:02 +00:00
Vadim Zeitlin
2e4b087e1c reverted return type of wxList method to nodetype * from compatibility_iterator (undoing change of rev 1.103) because this breaks very old core relying on conversion of wxList::GetFirst() to wxNode* for example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:19:48 +00:00
Julian Smart
b83d533aec Miscellaneous change log updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:16:49 +00:00
Julian Smart
4952771da3 Fixed home and end accelerators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:16:00 +00:00
Robin Dunn
6cfc5ebfa7 no longer need reverse renamers for the *Ptr classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 15:56:22 +00:00
Julian Smart
0b652e0ef9 Added an optimization that fixes a recursive paint problem when controls
are embedded in wxHTML (or other circumstances where the parent resizes
the choice/combobox within a paint handler). This also speeds up
addition of strings considerably (see "Add many strings" in widgets sample).

Also added a check for silly values that can be returned from
CB_GETDROPPEDCONTROLRECT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 15:28:02 +00:00
Włodzimierz Skiba
cca1624d2a Centering maximized wxTLWs on screen should do nothing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 13:00:06 +00:00
Włodzimierz Skiba
7cb32b4b74 Unconditional assert means fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:47:21 +00:00
Robert Roebling
0fdc2321bc Implement basic MVC logic (change an item in one
view and all views update themselves) and made
   wxDataViewToggleCell react to mouse clicks as a
   test for that (generic code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:44:57 +00:00
Julian Smart
acd8510fd2 Don't centre the frame on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:35:56 +00:00
Robert Roebling
90675b9582 Make generic wxDataViewCtrl draw its contents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:02:20 +00:00
Włodzimierz Skiba
4bc6f7a06c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 10:11:05 +00:00
Włodzimierz Skiba
bb2955b339 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 09:57:59 +00:00
Vadim Zeitlin
30a29593e8 workaround for mingw 3.2.3 DLL build with wxUSE_STL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 02:01:25 +00:00
Vadim Zeitlin
d294c9db88 nested iterator classes must be dll-exported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 01:01:50 +00:00
Vadim Zeitlin
d14e03f5b7 removed unneeded (and provoking warnings in DLL build) DLL export declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:48:09 +00:00
Vadim Zeitlin
aa78d22e20 don't compare invalid iterators/node pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:47:01 +00:00
Vadim Zeitlin
b028252442 don't return true from wxRadioBox::AcceptsFocus() even when it's hidden/disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:43:11 +00:00
David Surovell
7ca019817d fixed compilation issue in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:41:09 +00:00
David Surovell
8b4457965a cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 23:03:04 +00:00
Włodzimierz Skiba
1ea9acd9aa wxFrameNameStr was already delivered by #include one line earlier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:51:07 +00:00
Włodzimierz Skiba
a9672e89d5 DMC bug workaround.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:39:52 +00:00
Vadim Zeitlin
986d27c395 make it possible to predefine __WXFUNCTION__ in user code to have a different behaviour (e.g. use __PRETTY_FUNCTION instead of __FUNCTION__ with gcc) if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:37:58 +00:00
Vadim Zeitlin
fa3bd1aaea define __WXFUNCTION__ instead of redefining the (semi-)standard __FUNCTION__ which could result in conflicts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:32:28 +00:00
Vadim Zeitlin
fd05688e22 documented __WXFUNCTION__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:31:09 +00:00
Vadim Zeitlin
2bd3cba690 made alphabetical list of functions more alphabetical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:20:28 +00:00
Vadim Zeitlin
d4d8988c72 made wxList methods return compatibility_iterator instead of Node * to further reduce differences between wxUSE_STL==0 and 1 cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:14:28 +00:00
Włodzimierz Skiba
80f218424f Semicolon needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 18:29:34 +00:00
Włodzimierz Skiba
045bd076c5 Test both constuctors. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 18:07:19 +00:00
Włodzimierz Skiba
7fb0a11d3a Unconditional assert means fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 17:55:05 +00:00
Julian Smart
c31be54ae0 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 17:39:33 +00:00
Julian Smart
3a46bcdd32 Mac compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 16:45:38 +00:00
David Surovell
7884ab9018 fix wxMac compilation problem by hoisting simple variable declarations above all goto stmts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 16:21:55 +00:00
Włodzimierz Skiba
d17b1e7621 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:39:47 +00:00
Julian Smart
0cd6a2f8e6 Rearranged, added info about universal builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:38:06 +00:00
Vadim Zeitlin
0e0589e873 fixed handling PNG errors accidentally broken in rev 1.46 (libpng would just abort on invalid files now); fixed huge memory leak when failing to load an invalid PNG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:12:48 +00:00
Włodzimierz Skiba
e1204086ba Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 13:24:23 +00:00
Robert Roebling
a0f3af5fb6 Setup notifiers from datamodel to generic
wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:27:29 +00:00
Robert Roebling
3d9d7cc4f7 In the generic version of wxDataViewCtrl, all
cells are custom cells (nothing native).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:01:57 +00:00