Commit Graph

15354 Commits

Author SHA1 Message Date
Stefan Csomor
55094d8b35 redraw forced for size changes (layout for measuring is simpler than word-wrapping drawing code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:22:53 +00:00
Vadim Zeitlin
9cb57df493 use hard coded default size for top level windows instead of CW_USEDEFAULT: this results in more decent default frame size and fixes initial wxMiniFrame size which used to be tiny 8*8 (and so fixes bug 817832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:20:10 +00:00
Julian Smart
73ff84ff71 Applied patch [ 892608 ] wxLogDialog + wxLogFrame: minor improvement for file saving
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:43:41 +00:00
Julian Smart
dba6b4f880 Applied patch [ 892543 ] wxUniversal: Bitmaps in disabled menu items
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:38:31 +00:00
Stefan Csomor
1a527fbc0a corrected Sleep implementation (as clock() under Mach does only return our own passed time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:38:11 +00:00
Julian Smart
2321962672 Applied patch [ 892511 ] wxUniversal: fix of segfault in toolbar.cpp
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:49:22 +00:00
Stefan Csomor
00f5539438 scroll of subwindow confined to rect param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:07:23 +00:00
Stefan Csomor
f8e089e0c5 tabs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:06:06 +00:00
Stefan Csomor
3a05d58d94 corrected line counts and implemented ShowPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 10:56:48 +00:00
Stefan Csomor
5c250a1033 corrections for buffers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 09:53:50 +00:00
Stefan Csomor
305a0f6057 unicode savvy conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 09:52:19 +00:00
Mattia Barbon
e700df04ec Reverses part of my changes of Mon Apr 14 17:27:28 2003. This
fixes wxMotif windows not getting most mouse move events (testcase:
could not drag cards in Forty). This is a quick fix for 2.5.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 08:07:10 +00:00
Mattia Barbon
f6afb56a2d Applied patches #892580 and #892582 from Christian Sturmlechner.
Fix of variable declaration in wxApp::Yield().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:54:26 +00:00
David Elliott
4858097646 Use wxLogTrace instead of wxLogDebug for trace messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:07:04 +00:00
Stefan Csomor
16a761847f font encodings and refresh upon show (after a hide all no update event is sent at least on Panther)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:33:27 +00:00
Stefan Csomor
908d407cf9 font encodings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:27:53 +00:00
Stefan Csomor
fe92914150 font encodings and a first copy implementation wchar_t 32 <-> 16 bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:27:24 +00:00
Stefan Csomor
a9412f8f03 font encoding support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:23:07 +00:00
Stefan Csomor
fef5c55604 conversion warning gcc 3.3 mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:21:18 +00:00
Stefan Csomor
86deae1ef1 don't let MacIsReallyShown climb over toplevel windows, otherwise tlws with invisible parents are not showing their controls either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 05:42:00 +00:00
Vadim Zeitlin
3a7d5f7cc3 background colour of a combobox may now be set (bug 805442)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 00:59:23 +00:00
Vadim Zeitlin
d1e44484f7 reset m_frameTool/StatusBar pointers before deleting them (bug 773474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 23:48:13 +00:00
Vadim Zeitlin
bb655eade9 don't show the accels on the controls if the system is configured to hide them initially (bug 718368)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 23:18:01 +00:00
Vadim Zeitlin
818d407ac6 one line fix for a bug with focus switching to the one after next control instead of the next one after a multiline text control and a 15-line comment explaining it (this incidentally fixes bug 658026 and maybe others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 21:15:42 +00:00
Vadim Zeitlin
8732e03336 no changes (just removed some long unused junk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 21:07:24 +00:00
Vadim Zeitlin
56b9925b11 fixes for page positioning for notebooks with wxNB_MULTILINE style (closes bugs 709099 and 645323)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 20:48:18 +00:00
Vadim Zeitlin
e69683678e don't change the control width when adjusting the height of the drop down list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:51:52 +00:00
Vadim Zeitlin
71e57cd650 use new style creation (MSWCreateControl() and MSWGetStyle()); adjust the drop down list height after appending/inserting/deleting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:26:22 +00:00
Vadim Zeitlin
7b28e0ede4 don't give error messages if ws2_32.dll is not available in wxGetHostName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:25:05 +00:00
Vadim Zeitlin
76efbc2a09 compilation fix for wxUSE_VALIDATORS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:24:16 +00:00
Vadim Zeitlin
d99957b6b0 multiple fixes to wxChoice/wxCombobox height getting/setting (replaces patches 888171, 834099; fixes bug 880590)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 18:42:56 +00:00
Dimitri Schoolwerth
eb630bf1ec Live resizing is OS X only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 18:38:12 +00:00
Stefan Neis
5e01e9bde4 Handle separators in menus correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 17:04:28 +00:00
Vadim Zeitlin
63b9e659ef added wxDC::DrawPolyPolygon() (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 16:54:04 +00:00
Vadim Zeitlin
1cc8c8b74e made it possible to preserve background when using wxBufferedDC (replaces patch 876263); some refactoring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 16:16:36 +00:00
Vadim Zeitlin
de2ce07c7a made wxFFile a bit more safe: don't crash when Tell() and Length() are called on closed file (patch 811425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:44:40 +00:00
Vadim Zeitlin
05df0f1bc7 trying to speed up wxExecute(SYNC) -- by adding sleep to it (!) (patch 814478)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:37:47 +00:00
Vadim Zeitlin
25959b956d wxURL implementation using WinInet functions under Win32 (patch 839305)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:28:06 +00:00
Vadim Zeitlin
ba1e9d6ced Digital Mars compilation warnings and Unicode fixes (patch 884587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:07:08 +00:00
Vadim Zeitlin
b9b1f368fe respect xsrc, ysrc parameters in DoBlit() (patch 733961)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:02:54 +00:00
Vadim Zeitlin
db2c4c715c removed inclusion of malloc.h (part of patch 828250 but makes sense independently of it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:47:48 +00:00
Vadim Zeitlin
5205e26b9b show first item added with InsertItem() correctly (part of patch 833247)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:31:29 +00:00
Vadim Zeitlin
461dae941d fixes for compiling with more stuff disabled in setup.h (patch 889211)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:26:00 +00:00
Vadim Zeitlin
bad79f58af added wsock32.lib (patch 880683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:19:15 +00:00
Vadim Zeitlin
fc5414a1c6 made wxNumberEntryDialog public; extracted it and wxGetNumberFromUser() in a separate header (patch 882545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:55:49 +00:00
Vadim Zeitlin
7d0bf46a34 consume less CPU while waiting for thread to terminate (patch 883268)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:49:18 +00:00
Vadim Zeitlin
811697104b fix for memory leaks (patch 885242)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:19:18 +00:00
Vadim Zeitlin
6e76b35d73 added wxDC::DrawPolyPolygon() (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:12:31 +00:00
Vadim Zeitlin
77e7c55642 replaced ASSERT in wxEvtHandler::ProcessPendingEvents() with a CHECK (replaces patch 886852)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:54:29 +00:00
Stefan Csomor
9e68745562 adding textencoding for classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 08:02:40 +00:00