Włodzimierz Skiba
a71d815bbe
__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:47:44 +00:00
Vadim Zeitlin
634fb75048
fix for compilation without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:03:04 +00:00
David Surovell
18f5234f0c
removed unused local variable; converted tabs to spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 03:51:34 +00:00
Kevin Ollivier
89c8318014
Allow wx parents a chance to handle events fired by non-wx children. (i.e. wxActiveX controls)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 01:39:54 +00:00
Vadim Zeitlin
cba1c2ca12
assert if opening more than one find/replace dialog under the same parent -- this doesn't work currently (and maybe can't work at all)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 22:33:35 +00:00
Stefan Neis
cf44a61c24
Added implementation for wxLocaltime_r/wxGmtime_r.
...
Improved handling of windows compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 19:24:11 +00:00
Vadim Zeitlin
b2ff89d648
1. changed wxControl::GetLabel() to return the originally provided label and
...
not the one stripped from mnemonics (this was inconsistent with the other
ports and resulted in problems when using wxUpdateUIEvent::SetText())
2. added wxControl::GTKConvertMnemonics(), GTKRemoveMnemonics() and also
helper GTKSetLabelForLabel() and GTKSetLabelForFrame() wrappers
3. use them instead of duplicating their code in different derived controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:37:56 +00:00
Vadim Zeitlin
d1d40c2176
removed GetLabel() which didn't do anything but forwarding to wxControl version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:34:17 +00:00
Vadim Zeitlin
8dfd4fade8
code cleanup: make OutputString[Ent]() simpler to call by providing defaults for conversion parameters and using flag instead of a bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 15:02:01 +00:00
Vadim Zeitlin
24c80a284c
use correct encoding when saving in non-Unicode builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 14:49:38 +00:00
Michael Wetherell
abffc1ff5d
Changes to cope with parent streams which return an error instead of eof at the
...
end of the file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 13:51:24 +00:00
Julian Smart
b71e9aa4e2
Separated XML and HTML rich text I/O handlers
...
Cleaned up XML I/O
Added HTML handler to build system
Added encoding member for saving files output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:31:07 +00:00
Julian Smart
63886f6d98
Fixed bug introduced by compiler compatibility fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:25:21 +00:00
Julian Smart
3d941982de
Added space after list item number, otherwise number is hard against following text.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:22:20 +00:00
Stefan Neis
a452689b23
Use thread-safe functions where possible.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-17 22:01:43 +00:00
Vadim Zeitlin
143e2719f5
corrected DoGetVirtualSize() to return at least our real size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-17 19:19:45 +00:00
Julian Smart
7dbe942aaa
Fixed MDI context menu event handling problem (Stefan Kowski)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-16 14:52:57 +00:00
David Surovell
eb1a7cf93d
fixed bug introduced in prior check-ins; minor reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 21:21:02 +00:00
Chris Elliott
e795e8b56f
fix Borland bug http://news.gmane.org/find-root.php?message_id=%3c43A0B07F.8010204%40as.ro%3e
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 15:07:36 +00:00
David Surovell
898d9035fb
more reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 08:55:15 +00:00
David Surovell
b21d67a04d
even more reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 00:58:39 +00:00
Dimitri Schoolwerth
35853cf203
fixed compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 00:25:03 +00:00
David Surovell
9b2eab527d
reformat for readability
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 23:20:55 +00:00
David Surovell
21e77aa170
simplified ::Show
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 23:12:32 +00:00
Vadim Zeitlin
9fe0c2fcf7
fixed return code checking in wxImageList::Replace() (bug 1380664)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 18:56:15 +00:00
David Surovell
d8746da256
removed patch 1373127
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 17:49:05 +00:00
Vadim Zeitlin
c46c1fb868
code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 14:08:19 +00:00
Vadim Zeitlin
f697241630
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 13:55:19 +00:00
Julian Smart
e8615999dd
Fixed wxFileDialog breakage on WinCE due to incorrect structure size, and
...
added correct error testing for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 11:20:09 +00:00
David Surovell
98e04c1376
fixed obscure compilation problem at line 139
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 23:15:42 +00:00
David Surovell
a979e444a3
more reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 21:27:49 +00:00
Chris Elliott
8792cb7340
fix bug sf [ 1327872 ] Borland and mslu.cpp problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 13:43:52 +00:00
David Surovell
98af9c7383
reformat for readability
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 05:13:55 +00:00
Mart Raudsepp
b16de7461a
Remove my binary compatibility stuff from HEAD. Patch #1367014 used for reference.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 02:46:20 +00:00
Mart Raudsepp
8180d40b1f
Typo fixes in comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 02:30:18 +00:00
Mart Raudsepp
f660b2062c
Fix HitTest to return the proper tab index in case there are more tabs than fit (and therefore there are scrolling
...
arrows), and the first visible tab isn't the first real tab. Before counting started from the visible tab, not real
tab.
While doing this, I noticed lots of "interesting" bugs wrt tab indexes and the whole wxGtkNotebookPage hack in the
code. In my opinion, to fix some of the bugs I noticed during testing, wxGtkNotebookPage has to be nuked and the
necessary parts rewritten.
Meanwhile, the HitTest fix works with wxNB_TOP styled notebooks that haven't modified tabs in a way that would have
mess up the wxGtkNotebookPage index sync. For other cases it might depend on the phase of the moon, and other factors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 01:20:41 +00:00
David Surovell
52c3df9930
reformat for readability
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 00:59:19 +00:00
Vadim Zeitlin
761598d4e5
fixed handling of dst offset in wxAlphaBlend()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-12 11:15:23 +00:00
Stefan Neis
fe1f34f82e
Fixed wxDirExists implementation for OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-11 15:25:02 +00:00
Stefan Csomor
65785aa966
activate SetFocus patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 16:59:19 +00:00
Stefan Csomor
ead6269ac0
support for standard menu ids
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:50:20 +00:00
Stefan Csomor
ccf1ef0f10
support for default key handling (escape,enter,command-period) even if there is no control on the frame/dialog, that has the focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:47:42 +00:00
Stefan Csomor
ca71e3ae27
support for standard command IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:36:09 +00:00
Włodzimierz Skiba
2ad495fb65
wxDisplay support for wxWinCE port.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 14:40:26 +00:00
Stefan Csomor
53a410d1b2
add reasonable default TEMP for __WXMAC__ when running under __DARWIN__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 13:18:18 +00:00
Stefan Csomor
8c8f6a4b1d
default to simple show/hide tlw on OSX instead of transitions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 13:08:54 +00:00
George Tasker
ae2807c2e6
DB2 databases were mistakenly reporting that they were dBase databases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 00:37:05 +00:00
David Surovell
e15f0a5ea3
reformat for readability; more prep. for patch 1376506
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 20:43:49 +00:00
David Surovell
dac390e90b
cleanup in preparation for patch 1376506
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 16:18:01 +00:00
David Surovell
75f0a06e5f
format cleanup; some new comments; minor optimizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 00:10:27 +00:00
Julian Smart
789e2d57b8
Use ~/Application Support folder on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:49:52 +00:00
David Surovell
739b752912
applied patch 1376506 - remove unneeded member variable from GTK wxRadioButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:44:46 +00:00
Stefan Neis
dc8fbc37b0
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-07 09:35:38 +00:00
Julian Smart
aea25ac560
Initialize values (uninitialized variables reported to cause problems on WinME)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-06 19:07:28 +00:00
David Surovell
bafd830636
applied patch 1373127
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-05 16:25:16 +00:00
David Surovell
f9f9c8fcf9
applied Paul Cornett's suggested changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-05 01:07:22 +00:00
Vadim Zeitlin
d5437b854c
fixed broken code using readlink(): please don't just cast wxChar * to char *, this doesn't risk to ever work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 13:01:50 +00:00
David Surovell
30efba0a9a
applied patch 1372567, with some minor mods and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 07:54:19 +00:00
David Surovell
ca7d651d5d
fixed compilation bug in prior checkin (Pt. 2)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 05:00:26 +00:00
David Surovell
9238471679
fixed compilation bug in prior checkin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 01:04:02 +00:00
David Surovell
74ebd40690
fix for bug 1371386, with some minor mods and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 21:17:17 +00:00
David Surovell
d806d30a0f
applied patch 1372197, with some minor mods and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 17:55:33 +00:00
Vadim Zeitlin
f2be55804a
corrected wxCHECK messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 12:47:55 +00:00
Stefan Csomor
d281db8b42
avoiding unkown namespace std
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 08:43:31 +00:00
Stefan Csomor
abb4f9c937
correcting CGImage handling to be always correctly initialized and freed on OSX builds, even when not using CoreGraphics, Ryan's Patch 1372209
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 07:58:16 +00:00
Jouk Jansen
1c5e12589c
Committing in .
...
OpenVMS compile updates
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-02 08:52:09 +00:00
Vadim Zeitlin
5875d39c9b
fixed problems with sometimes processing the events twice introduced in rev 1.170 but still don't leak memory (Tim Kosse)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-02 00:53:31 +00:00
David Surovell
17cfea0162
minor cleanup, part 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:32:47 +00:00
David Surovell
97071cdbff
minor cleanup: corrected typos, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:20:30 +00:00
David Surovell
1aa7b427f2
minor cleanup: corrected typos, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 14:28:30 +00:00
Václav Slavík
5996fb421d
fixed wxComboBox::Clear to clear stored value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 12:55:34 +00:00
Włodzimierz Skiba
8ecd5de227
[ 1357527 ] Cast to void to silence GCC's warnings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 11:05:31 +00:00
David Surovell
a8d2fb31cb
readability cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 18:30:49 +00:00
David Surovell
ec7a8d0256
added missing #endif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:45:05 +00:00
Vadim Zeitlin
1661354b77
implemented IsItemEnabled/Shown()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:28:18 +00:00
Vadim Zeitlin
27c78e4552
1. derive wxGTK wxRadioBox from wxRadioBoxBase now, as in all other ports
...
2. implemented wxRadioBox::IsItemShown/Enabled() for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:39:23 +00:00
Vadim Zeitlin
f3984afa30
Set major dim after the items have been created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:33:43 +00:00
Vadim Zeitlin
21e0a4d5f1
1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
...
2. also implement Getcolumn/RowCount() in it now and document them
3. removed various remains of old (pre-wxRadioBoxBase) cruft
sorry in advance for any compilation breakage on the platforms I can't test on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:28:15 +00:00
Vadim Zeitlin
344d0d8821
suppress gcc warnings about class having private dtor and no friends
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 15:35:04 +00:00
Vadim Zeitlin
de2589be08
avoid multiple reallocations in wxString::PrintfV() if vsnprintf() returns the total required size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 14:49:47 +00:00
Michael Wetherell
8e50d1add6
Make Eof() consistent with other streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 12:41:48 +00:00
David Surovell
4d53859584
minor refactoring of menu UpdateUI handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:59:38 +00:00
Włodzimierz Skiba
0b04c4e0bd
Missing wxUSE_PALETTE markup ( #1369489 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:58:37 +00:00
Włodzimierz Skiba
7e04489676
Missing wxUSE_JOYSTICK markup ( #1369478 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:43:06 +00:00
Vadim Zeitlin
a815cb29f2
removed (now) unnecessary errno.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 02:42:39 +00:00
Vadim Zeitlin
b1727cfef7
don't expect errno to be set to EOVERFLOW if vsnprintf() fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 22:59:02 +00:00
Vadim Zeitlin
455c8f1d55
don't clip out hidden radiobox buttons: otherwise they're displayed incorrectly when themes are in use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 22:10:04 +00:00
Vadim Zeitlin
3bfa7be977
added wxRadioBox::IsItemEnabled/Shown() (for MSW only for now, other platforms to come); corrected Enable/Show() return values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 19:26:38 +00:00
Mart Raudsepp
da9e956384
Make wxJoystick::GetNumberJoystick a static method, as the number of
...
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Julian Smart
b377eda09d
Removed duplicate xh_grid.cpp/h and rebaked files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 09:03:35 +00:00
Vadim Zeitlin
f5e3d9463b
guard grid XRC handler by #if wxUSE_GRID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 00:54:02 +00:00
David Surovell
a8cb1a4947
changed background color reference from light gray to assigned bkgd color
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 15:27:09 +00:00
Stefan Neis
c5f975dddb
Applied patch #1198422 (CheckBox labels being truncated).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 21:30:40 +00:00
Michael Wetherell
9630cac5fc
Take out wxASSERTs since they give a warning with gcc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 18:12:37 +00:00
Michael Wetherell
f489770c10
Do CloseEntry internally when OpenEntry called on an already open stream.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 17:55:00 +00:00
Michael Wetherell
4c9847e14e
Small fixes to allow compilation with --enable-stl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 02:03:40 +00:00
Michael Wetherell
c1d8296a78
Silence warning about truncation since the comment says it ok
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 01:56:51 +00:00
Vadim Zeitlin
dddd1f21c1
added helper for visual sizers debugging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:09:23 +00:00
Vadim Zeitlin
cc11ded1ae
made wxTreeTraversal and wxIDropSources dtors virtual (patch 1311828)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:08:09 +00:00
Vadim Zeitlin
9ad34f611f
implemented wxGetFreeMemory() under IRIX (patch 1360356); made wxMemorySize always 64 bit as it can overflow even in 32 bit builds otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 22:09:22 +00:00
Vadim Zeitlin
2cdf244521
fix warnings about casting regmatch_t struct fields to size_t
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 21:49:00 +00:00
David Elliott
8ced02f601
Ran make -f build/autogen.mk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 05:17:36 +00:00
Włodzimierz Skiba
9cd03a43ce
Minor improvements and cleanings after recent WinCE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 20:16:31 +00:00
Julian Smart
7532f691fb
Applied patch [ 1310251 ] Fixed a pixel depth bug converting wxImageb to wxBitmap
...
By Mike Fahl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 17:41:26 +00:00
Julian Smart
38c39207e9
Fixed style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 17:31:35 +00:00
Julian Smart
0e3c83a736
Applied patch [ 1308152 ] wxGrid XRC handler patch HEAD
...
Start of a wxGrid handler by Agron Selimaj
Applied with corrections. Needs further work for retrieving grid properties
and styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 17:26:05 +00:00
Julian Smart
6e9e2d94b4
Applied patch [ 1351847 ] wxTextXtrl Undo/Redo Bug (sic)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 16:53:48 +00:00
Julian Smart
78c743d864
Applied patch [ 1357475 ] WinCE : wxExecute does not execute programs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 16:45:05 +00:00
Michael Wetherell
7553e636a2
Add 'wx_' prefix to builtin regfree and regerror
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 13:56:08 +00:00
Włodzimierz Skiba
66d84d1130
Build and run ::wxGetUserName() silently with unusual configs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 12:04:42 +00:00
David Surovell
bb86baea10
Realize remap code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 08:01:47 +00:00
Stefan Csomor
0df4335d4d
using backward compatible calls for HitTest hack
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 17:54:16 +00:00
David Surovell
2c62259349
fixed memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 16:15:46 +00:00
Włodzimierz Skiba
86f6a6d19d
Safe wxStrncpy usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 11:57:55 +00:00
Włodzimierz Skiba
119f7bb745
wxGetUserName for WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 09:20:41 +00:00
David Surovell
4647fc0833
removed empty block
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 21:42:58 +00:00
Dimitri Schoolwerth
412e0d47c0
applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Vadim Zeitlin
84ac8772b7
return correct error message if NSLinkModule() fails; fixed flagrant buffer overflow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:26:34 +00:00
Michael Wetherell
ab0f0eddc4
Use re_search directly instead of regexec when using the GNU regex lib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 17:25:33 +00:00
Julian Smart
7ede73899d
Moved EnsureVisible to avoid spurious selection of root during idle processing
...
(via ScrollTo/wxYieldIfNeeded)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:27:11 +00:00
Vadim Zeitlin
46bed958ef
don't cast from float to int (provoking a warning) just to cast back to float again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:19:12 +00:00
Vadim Zeitlin
f885b81573
fixed harmless signed/unsigned comparison warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:18:07 +00:00
Julian Smart
9941146580
Event coordinates should _always_ be physical, not logical, to
...
be consistent both with other events and with the wxMSW control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 22:49:13 +00:00
Stefan Csomor
21ec3bf99c
patch 1352744
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 13:05:14 +00:00
Mart Raudsepp
90e572f1e5
Spelling fixes from Andreas Mohr (patch #1360064 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Stefan Csomor
8b28584104
patch 1306473
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 21:23:24 +00:00
Stefan Csomor
7db33dd7ad
patch 1265473
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 18:40:34 +00:00
Włodzimierz Skiba
0ab48d6405
Follow other ports with Title/Label split.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 18:34:15 +00:00
Václav Slavík
3bc7a423ad
fixed layout of tables that are first element on a page
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 23:37:27 +00:00
Václav Slavík
97eac136f3
reduced code duplication in wxHtmlWinParser::AddText (no real change)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 23:35:36 +00:00
Julian Smart
46cbb21ecb
Fixed problem with choice editor in wxGrid whereby the editor
...
lost focus when the combobox menu was shown.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 17:43:15 +00:00
Włodzimierz Skiba
8b0df0e138
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 17:43:52 +00:00
Dimitri Schoolwerth
d997c6118c
applied patch #1348053 "[msw] Strip mnemonics when calc best size for static text"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 12:06:54 +00:00
Dimitri Schoolwerth
0f99ce3d75
only remap the disabled bitmap of a toolbarbutton when allowed by system (settings), otherwise colour artifacts can appear
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 23:26:06 +00:00
Michael Wetherell
c9eee7f035
Add a length parameter for wxRegEx::Matches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 15:51:10 +00:00
Stefan Csomor
41ab357ed9
corrected wake up code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 20:24:16 +00:00
Włodzimierz Skiba
3d1a1d2df6
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 17:03:37 +00:00
Julian Smart
5fd420ed86
Removed GTK+2 bitmap menu item code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 08:48:35 +00:00
Włodzimierz Skiba
d126840117
eVC3/PPC2002 build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 21:48:53 +00:00
Mart Raudsepp
c1da50582e
Typo fix in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 19:51:45 +00:00
Mart Raudsepp
0118b60be6
Might aswell show the compile- and runtime versions of GTK+ in the ctrl+alt+mclick dialog in case of wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 19:44:15 +00:00
Włodzimierz Skiba
94e8d77cbb
Missing #ifdef markup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 14:52:34 +00:00
Włodzimierz Skiba
08b9726806
Resize all top level windows when SIP changes visibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 11:46:24 +00:00
Kevin Hock
6fa30495b5
Fix MDI child windows not becoming active when created after changes to wxTopLevelWindow; BringWindowToTop added to wxMDIChildFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 05:00:32 +00:00
Michael Wetherell
db9db9cd18
Change the name of a symbol to make it more descriptive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 19:33:47 +00:00
Michael Wetherell
f302b6a445
Make wxRegEx::Replace run in linear time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 17:22:13 +00:00
Włodzimierz Skiba
6d3d756a6a
Macros for simplified testing Open Watcom version and required tweaks.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 16:16:05 +00:00
Włodzimierz Skiba
ffd84c9476
Get/SetTitle only for wxTopLevelWindow (wxX11 part, final)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 12:03:39 +00:00
Stefan Csomor
3c3e697033
adding hit testing (needed a hack)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 09:43:03 +00:00
Włodzimierz Skiba
7ec698211d
Various source cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 20:14:39 +00:00
Stefan Csomor
e00eeba851
allow a SHAPED flag for a dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 14:08:02 +00:00
Stefan Csomor
8ec0a8fa72
wx..._EX_METAL styles support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 09:45:58 +00:00
Michael Wetherell
5c60e84569
Regenerate Makefile.in, configure and the VC++ project files after adding rcdefs.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 02:34:32 +00:00
Kevin Hock
0567fdfceb
Restored the accidentally deleted "return true;" at the end of the Show method from last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 00:30:45 +00:00
Julian Smart
70dec69b0b
Force linking of gprint.cpp, otherwise Gnome printing may not work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 18:11:12 +00:00
Włodzimierz Skiba
8d8d36335c
Get/SetTitle only for wxTopLevelWindow (wxCocoa part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 16:02:07 +00:00
Kevin Hock
75e275af32
Remove fudges in Show: 1) Do not force a window to top when it is shown 2) Remove extra ACTIVATE event on show 3) Do not fudge resetting focus after closing a window (always setting to the parent can lead to unnatural results)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 14:41:09 +00:00
Kevin Hock
2175898cf6
Remove always moving window to the top of the Z-order on on Show
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 14:38:20 +00:00
Włodzimierz Skiba
67eb4cb253
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 13:28:34 +00:00
Stefan Csomor
a6de78177e
fix undefined structs under 10.2 (tinderbox)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 06:33:27 +00:00
Vadim Zeitlin
1e966cc4c8
remvoed wxFileDialogBase::m_parent as there is already one in wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 01:33:33 +00:00
Vadim Zeitlin
2ee96a251c
fix memory leak of wxMessageOutput if wxApp::OnInit() returned false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 01:02:48 +00:00
Vadim Zeitlin
6dc2a916df
fix memory leak of pending events in wxEvtHandler dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 00:45:46 +00:00
Mart Raudsepp
8fb824187d
[wxGTK] Support run-time changing of the wxFRAME_NO_TASKBAR style value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 23:06:34 +00:00
Mart Raudsepp
015dca24ca
[wxGTK] Support changing the wxSTAY_ON_TOP style value run-time through wxWindow::SetWindowStyleFlag, support for
...
more styles to follow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 20:00:50 +00:00
Stefan Csomor
fd39aa23bc
adjusting to SetLabel migration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:56:17 +00:00
Stefan Csomor
44f9d0aa55
adjusting to SetLabel migration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:05:04 +00:00
Stefan Csomor
f51374fe9d
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:02:57 +00:00
Stefan Csomor
d4bd6c97be
cleanup, adding correct window-ids to window events (important when using eg Connect)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:01:15 +00:00
Stefan Csomor
26a2f9144b
cleanup, using Tiger funcs if possible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:58:32 +00:00
Stefan Csomor
d32be04cd7
support for wxNO_BORDER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:36:00 +00:00
Stefan Csomor
51cdab3ef8
CGImage Creation is always available under OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:34:48 +00:00
Stefan Csomor
57a21e6c45
switch to a CoreFoundation based and thread-safe implementation for message boxes for Mach-O builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:59:34 +00:00
Włodzimierz Skiba
fb5246bead
Get/SetTitle only for wxTopLevelWindow (wxMac part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:37:19 +00:00
Włodzimierz Skiba
cdc059191b
Fixed #1338966 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 13:47:44 +00:00
Włodzimierz Skiba
ce045aed58
wxGetWorkingDirectory() deprecated. Fixed #1338966 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 13:27:09 +00:00
Julian Smart
f3e874756b
Don't resend an update event from m_spin to avoid recursion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 10:15:42 +00:00
Włodzimierz Skiba
caae22fb66
eVC4 warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 21:42:01 +00:00
Włodzimierz Skiba
41e155b43e
eVC4 warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 20:44:43 +00:00
Włodzimierz Skiba
792f83f038
Speedup for adding array of items.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 18:47:25 +00:00
Włodzimierz Skiba
316189733a
Native wxCheckListBox implementation for wxWinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 22:49:33 +00:00
Stefan Csomor
24cd6f8250
finished implementation for stencil and colored patterns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 16:53:42 +00:00
Julian Smart
6270539bcf
Set HTML data even in Unicode mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 10:25:59 +00:00
Stefan Csomor
3ca57155b4
added permission error to the 'expected' error codes, removed assert, as this leads to problems in wxPython otherwise, and getting another error essentially means we cannot continue iterating..
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 07:39:46 +00:00
Włodzimierz Skiba
743e24aa72
Get/SetTitle only for wxTopLevelWindow (wxOS2 part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 21:13:03 +00:00
Włodzimierz Skiba
46ae103b9f
Get/SetTitle only for wxTopLevelWindow (wxMGL part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 18:49:49 +00:00
Włodzimierz Skiba
72c23f8e29
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 15:14:42 +00:00
Włodzimierz Skiba
340bfb43eb
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 14:19:41 +00:00
Włodzimierz Skiba
cb8cc2506b
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 11:11:22 +00:00
Włodzimierz Skiba
34097680c0
Get/SetTitle only for wxTopLevelWindow (wxMotif part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 20:58:02 +00:00
Vadim Zeitlin
7996ff8038
use focused bitmap as fallback for the hover one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 19:38:20 +00:00
Włodzimierz Skiba
faa49bfd39
Get/SetTitle only for wxTopLevelWindow (wxMSW part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:47:29 +00:00
Stefan Csomor
64bd657c27
support for 10.4 provided context menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 14:23:22 +00:00
Kevin Hock
fa349e95cc
Use toplevel parent rather than immediate parent as color dialog's parent window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 02:50:00 +00:00
Vadim Zeitlin
1fdc16adf7
added SetHoverBitmap() and implemented it under wxMSW; extended the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 01:48:10 +00:00
Stefan Csomor
44aa865dfc
default implementations for Replace and Remove
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 16:40:56 +00:00
Stefan Csomor
ce0d1032d1
applying patch 1345435
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 15:22:39 +00:00
Stefan Csomor
6567c540f5
re-added support for help-menu and application-menu items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 14:50:10 +00:00
Chris Elliott
63c02113db
add missing header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 09:49:16 +00:00
Włodzimierz Skiba
60104cbafa
wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-01 22:35:50 +00:00
Włodzimierz Skiba
127eab18f8
wxMGL revitalised with OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 17:14:55 +00:00
Włodzimierz Skiba
b8af111fa5
wxMGL revitalised with OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 17:00:43 +00:00
Julian Smart
fcdbeefa4e
Applied patch [ 1341085 ] richtext xml build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 14:27:53 +00:00
Vadim Zeitlin
1f00af0e9e
fix for incorrect member initialization order warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-30 20:20:27 +00:00
Włodzimierz Skiba
6092f24fae
eVC3 build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 15:18:18 +00:00
Włodzimierz Skiba
7b504551c2
Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 12:48:07 +00:00
Julian Smart
b01ca8b6a9
Applied patch [ 1339882 ] richtext misc cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 14:24:04 +00:00
Chris Elliott
bb0d2f0379
remove GetImageList(int)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 14:05:49 +00:00
Włodzimierz Skiba
7dab17dd7a
Build fix for WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 09:12:15 +00:00
Vadim Zeitlin
a843caf3e1
fixed MCSetMovie() signature
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 01:08:03 +00:00
Włodzimierz Skiba
cb7d73757f
Support for automatic setup.h in OS/2 with OW builds. __WXOS2__ final removal. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 16:01:45 +00:00
Chris Elliott
ec90484017
SF bug 1327872
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 20:48:09 +00:00
Chris Elliott
3f93a7508e
avoid hidden GetImageList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 20:09:10 +00:00
Julian Smart
dd9ea234f2
Do a sanity check before reading. Otherwise, if trying to read a duff image file,
...
the app can abort if you pass a specific image type, but simply show an error
message if you pass wxBITMAP_TYPE_ANY.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 14:08:43 +00:00
Włodzimierz Skiba
90c0f5a958
Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 12:44:28 +00:00
Julian Smart
3db5226517
Added parent window parameter to wxHelpController constructor
...
and added SetParentWindow/GetParentWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 09:32:10 +00:00
Mart Raudsepp
df034cc6d5
Compilation fix...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 00:26:34 +00:00
Julian Smart
0bab774ba3
Fixed warnings/errors and changed Thaw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 17:51:10 +00:00
Michael Wetherell
2bc63d3f80
Add missing files to 'make dist'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 16:25:17 +00:00
Chris Elliott
89220a9428
missing #include (SF bug 1327872)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 13:58:32 +00:00
Julian Smart
76bcd8154c
Don't clear background in Refresh (to suit poor implementations of Refresh)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 10:41:38 +00:00
Włodzimierz Skiba
068becf562
Move wxMulDivInt32 to common math.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-24 18:56:33 +00:00
Włodzimierz Skiba
5ccb95f690
WinCE build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 22:37:58 +00:00
Włodzimierz Skiba
96531a71a0
filename correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:40:42 +00:00
Stefan Neis
554fdf48f5
Replaced __WXOS2__ by __OS2__ or __WXPM__ as apropriate.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:30:53 +00:00
Julian Smart
bc88602a65
Patch [ 1314868 ] [wxMSW] Show MDI child menubars when ShowFullScreen(false)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 11:05:46 +00:00
Julian Smart
3d3afaecfb
Applied patch [ 1310416 ] [wxMSW] Fix radio button traversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 10:59:01 +00:00
Julian Smart
1ca78aa1dc
Applied patch [ 1307056 ] [wxMSW] Focus showing fix for Win2k/XP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 10:53:16 +00:00
Julian Smart
2f36e8dce5
Now works when derived from wxTextCtrlBase, using wxScrollHelper.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 13:44:30 +00:00
Julian Smart
a4f4d548ce
Font (possible) fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 12:10:34 +00:00
Julian Smart
09f1410821
Corrections for wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 11:40:32 +00:00
Julian Smart
4708068cb6
Wine corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 10:22:48 +00:00
Julian Smart
9e31a66087
More Erase substitutions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 09:24:49 +00:00
Julian Smart
11ef729d54
Added missing include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 09:20:09 +00:00
Julian Smart
4837b89e3b
Use GetFont not m_font for GetCharHeight
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 08:51:12 +00:00
Julian Smart
efbf673503
Replace node deletion with Erase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 08:05:19 +00:00
Włodzimierz Skiba
39a1c2f2dd
wxTinderbox build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 07:45:54 +00:00
Julian Smart
d21423356e
Don't try to open clipboard if already open
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 20:43:02 +00:00
Julian Smart
c59f6793fb
Reduced unnecessary painting; delete/recreate caret as WIN32 requires
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 20:04:53 +00:00
Włodzimierz Skiba
0ad966eeac
Allow translated 'Space' in menu accelerators (perhaps more entries should allow it).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:06:45 +00:00
Włodzimierz Skiba
2ddb4d1358
Unified flags for orienting wxBookCtrls (with backward compatibility). Centralised code for sizing internals.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:03:06 +00:00
Julian Smart
ff2baa25d5
Switched antialiasing off since GetTextExtent doesn't work properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 16:31:07 +00:00
Julian Smart
7383cf9d17
Fixed warning, move caret in OnPaint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 14:50:29 +00:00
Julian Smart
4e09ebe880
Restored code uglies
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 13:54:15 +00:00
Julian Smart
dc043de063
Removed macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 13:14:16 +00:00
Julian Smart
4d551ad5e5
Fixed some styling bugs, optimized resize for large files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 13:02:15 +00:00
Julian Smart
169adfa9c4
Resets scroll position on load
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 22:51:57 +00:00
Julian Smart
162a4f9382
Support wxALWAYS_SHOW_SB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 17:30:24 +00:00
Włodzimierz Skiba
e191ee8751
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 14:40:47 +00:00
Julian Smart
1e967276d8
Efficiency measures; file loading bug fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 12:55:53 +00:00
Julian Smart
3811368401
Introduced invalidation of ranges for later optimization code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 22:20:12 +00:00
Włodzimierz Skiba
7fe8059f58
const consistent for Clone(). Load/Save split to DoLoad/DoSave. Build fixes, warning fixes and other source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 17:00:58 +00:00
Julian Smart
2c375f42cf
First part of a layout optimization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 14:44:15 +00:00
Julian Smart
011b3dcbef
Only draw if inside client rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 13:54:32 +00:00
Julian Smart
5d7836c47d
Added wxRichTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 12:52:47 +00:00
Michael Wetherell
2f5e790cb1
Restore ALL_BASE_HEADERS to its previous meaning of 'all for a given port' as
...
it is used in this sense in rpmspec.bkl, add ALL_PORTS_BASE_HEADERS for
'make dist', and rebake.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 20:50:46 +00:00
David Elliott
ae999b11ec
Remove sm_cocoaDelegate singleton. We need per-instance data anyway so we
...
may as well make it the target instead of the userInfo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 16:02:51 +00:00
David Elliott
06c2bab085
Replace wxNSTimerData -setTimer method with -initWithWxTimer: initializer
...
which correctly calls the superclass (NSObject) init.
Add an -init method for correctness; technically not needed as it is never
called but it's an Objective-C best practice.
Release the wxNSTimerData instance just after passing it to the NSTimer
factory method. NSTimer retains it and we don't keep a pointer to it
so we should not keep a refence to it. This fixes the bug in wxTimer::Stop
where the program crashes in the NSCFTimer userInfo method because the
NSTimer has already been invalidated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 15:27:48 +00:00
Włodzimierz Skiba
159e6235b2
Set/get for internal border in book based controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 12:31:11 +00:00
Włodzimierz Skiba
afe1376994
compilation fix after wxScrollHelper changes (ctor argument is now not optional and SetWin doesn't exist any more)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 11:13:34 +00:00
Jouk Jansen
6694ee19fc
Committing in .
...
Updated openvms compile support
Modified Files:
wxWidgets/src/generic/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 10:18:00 +00:00
Vadim Zeitlin
c3ee2228e5
compilation fix after wxScrollHelper changes (ctor argument is now not optional and SetWin doesn't exist any more)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 00:03:36 +00:00
Vadim Zeitlin
74205969dd
fixed Fit() to call SetClientSize() and not SetSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:41:52 +00:00
Michael Wetherell
871192ce0f
Widen the hash key for win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:11:49 +00:00
Michael Wetherell
4a10ea8b13
Warning fixes for win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:08:05 +00:00
Włodzimierz Skiba
c0f420c1ac
wxTinderbox build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 21:49:58 +00:00
Włodzimierz Skiba
1a4138c79a
Follow changes in common code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 19:51:31 +00:00
Vadim Zeitlin
22574b4a9c
renamed DoHitTest() to DoTreeHitTest() to avoid conflict with existing wxWindow method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 19:31:40 +00:00
Michael Wetherell
fcd8dd3f33
Compile fix for Unicode build on win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 17:08:28 +00:00
Stefan Neis
d6701f32aa
Fixed event handling bug as suggested by Lech Wiktor Piotrowski.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-16 17:13:16 +00:00
Michael Wetherell
4948c2b6c8
Typo, should be #if not #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:11:05 +00:00
Michael Wetherell
ac11db3a77
Restore WC_UTF16, required for compilation on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 18:58:06 +00:00
Julian Smart
b71e90034f
Added "enabled" support for submenus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-13 10:44:50 +00:00
Dimitri Schoolwerth
b04ada921f
fixed argv[0] out of bounds error (argc can be 0 when wxEntry is manually called in a plugin environment for example)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 15:05:03 +00:00
Dimitri Schoolwerth
2b053ae90a
fixed MSVC6 compilation error ("C2639: compiler generated default constructor required by unnamed class")
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 15:01:50 +00:00
Vadim Zeitlin
42e53e7771
another fix for !USE_PCH: added missing wx/imaglist.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 13:40:39 +00:00
Vadim Zeitlin
bc454ef84c
invalidate tree size after adding/removing pages; use portable style for the tree control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 22:30:52 +00:00
Vadim Zeitlin
3e4f8ee256
removed hardcoded DoGetBestSize() implementation; added support for textOnly parameter in GetBoundingRect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 22:29:39 +00:00
Vadim Zeitlin
4c2a39bec1
removed deprecated InsertItem() overload because it masked all the other ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 21:46:24 +00:00
Vadim Zeitlin
642446e3bf
Windows compilation fixes after wxTreeCtrl refactoring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:36:20 +00:00
Vadim Zeitlin
8cee4a304f
introduced a common base class for both MSW and generic wxTreeCtrl implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:25:02 +00:00
Vadim Zeitlin
d2dfef5f3f
corrected code to really skip stack frames in the beginning and to number the remaining frames correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:11:29 +00:00
Kevin Hock
345bdf13c0
For consistency with other ports, send TEXT event after SELECTED event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 19:10:29 +00:00
Vadim Zeitlin
d32e78bd42
refactored wxGTK scrolling: it has now fully-functioning wxScrollHelper and a lot of duplicate code was removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:24:27 +00:00
Vadim Zeitlin
87a3ebe978
added GtkUpdateScrollbar; folded some code duplicated for horz/vert orientations in a single branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:22:47 +00:00
Vadim Zeitlin
ee146bca1b
added GetWindowSizeForVirtualSize() virtual hook for wxScrolledWindow (cuts down on code duplication in its DoGetBestSize())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:15:34 +00:00
Jouk Jansen
21a186a1fc
Committing in .
...
Small fixes for OpenVMS
Modified Files:
wxWidgets/include/wx/vms_x_fix.h
wxWidgets/src/motif/xmcombo/xmcombo.c
: ----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 14:18:40 +00:00
Vadim Zeitlin
547703373c
regenerated with treebook files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:24:57 +00:00
Vadim Zeitlin
eca15c0d54
Added wxTreebook:
...
- added the control itself
- added protected wxBookCtrlBase::AllowNullPage() to accommodate it
- big changes to the sample to get rid of (most) ugly macros
- added XRC handler for the control
- added docs
- and wxUSE_TREEBOOK everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 18:40:36 +00:00
Vadim Zeitlin
49732ef201
corrected GetBestSize() implementation: take all items, not just the currently visible ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 17:19:43 +00:00
Vadim Zeitlin
a068160f9f
don't call ::ShowWindow() if don't have HWND yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 16:52:41 +00:00
Mattia Barbon
dee1a63ff5
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
...
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
Ran build/update-setup-h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Vadim Zeitlin
96d8f9207f
implemented GetBestSize() (TODO: make this available in generic version as well)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 13:38:15 +00:00
Vadim Zeitlin
c358ea4147
filter out duplicate mouse move events too; moved last mouse event info from wxWindow class to static variables (there is only one mouse in the system after all, no need to duplicate this data in all windows)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 13:04:40 +00:00
Vadim Zeitlin
d1dbe757c0
blind compilation fix for CW 8.3 in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 12:32:56 +00:00
Vadim Zeitlin
138861bcdd
don't use __MSL__ unless it's defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 12:23:58 +00:00
Vadim Zeitlin
3f9ee1cd85
fixed unused parameter warnings in non-debug build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 21:24:32 +00:00
Vadim Zeitlin
ad60f069f1
always connect to both XmNvalueChangedCallback and XmNdragCallback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 18:35:36 +00:00
Vadim Zeitlin
31df756d74
more 'unreachable code' warnings which had been disabled instead of being fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 18:33:28 +00:00
Vadim Zeitlin
e933b5bc36
extra semicolons removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 17:10:10 +00:00