Dimitri Schoolwerth
769627d79e
fixed unreachable code warnings (occurred in MSVC6+Release mode)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 14:25:36 +00:00
Julian Smart
398c701f70
Fixed problem trying to print from a preview, whereby wrong printer
...
class was used instead of Gnome printer class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 20:38:47 +00:00
Vadim Zeitlin
0b6d76bfd4
don't crash when XIM is used under IRIX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 16:06:31 +00:00
Vadim Zeitlin
c8a448977c
removed DllMain(): we don't even compile it with any compiler but VC8 and with VC8 it results in a crash; we need another way to make it possible to use wx DLL from another DLL, this one is flawed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 14:34:12 +00:00
Vadim Zeitlin
333c869716
return a valid bitmap from GetBitmap() even if we created an icon internally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 13:46:23 +00:00
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