Commit Graph

13484 Commits

Author SHA1 Message Date
Vadim Zeitlin
09088d12d4 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:48:14 +00:00
Vadim Zeitlin
69936aea19 added DoCreate/Load/SaveDocument() (patches 983570 and 983571)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:42:11 +00:00
Vadim Zeitlin
c48908df67 added GetHeaderValue() (patch 974427)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:30:42 +00:00
Vadim Zeitlin
eb7f24c1b5 don't crash if we delete the item being edited (replaces patch 979733)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:24:17 +00:00
Vadim Zeitlin
d0cc483d17 unselect previously selected items in SetSelection() (patch 974326)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:06:58 +00:00
Vadim Zeitlin
10cbb81eda corrected Center() for cases when client display rect origin is not at (0, 0) (patch 973192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:03:13 +00:00
Vadim Zeitlin
f1e7793361 added and documented SplitVolume() and GetPathTerminators(); corrected SetPath() to treat the volume part properly (patch 970580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 13:59:47 +00:00
Vadim Zeitlin
92661f9794 support for alpha channel in toolbars (patch 949843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:59:32 +00:00
Vadim Zeitlin
90bddb8566 check better before overwriting files (patch 951868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:54:15 +00:00
Vadim Zeitlin
4cc90442d0 documented how to use sockets in non-main thread (patch 951134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:41:14 +00:00
Vadim Zeitlin
7df69621d9 don't set SO_REUSEADDR by default; added GSocket_SetReuseAddr()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:40:10 +00:00
Vadim Zeitlin
8158e0e169 FindItem() implementation (patch 950021)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:32:59 +00:00
Vadim Zeitlin
e0e3a32dac fixed Freeze/Thaw() for wxCombobox (patch 925808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:30:25 +00:00
Vadim Zeitlin
93212feea0 use BS_RIGHT for right-aligned controls (patch 945460)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:27:23 +00:00
Vadim Zeitlin
bfa7bf7d6b basic UDP support (patch 835128)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:16:31 +00:00
Vadim Zeitlin
a90bf70914 tided up the code a little (replaces part of patch 966312)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:00:14 +00:00
David Elliott
9d71596027 Incorporated gsocket.c 1.80 to 1.86 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-24 04:00:17 +00:00
Vadim Zeitlin
fe51e08c27 generate EVT_CONTEXT_MENU when right mouse button is pressed, not released
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 22:13:04 +00:00
Vadim Zeitlin
74c5a810e5 show the cursor on screen after moving it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:56:25 +00:00
Vadim Zeitlin
8e033d81f2 don't crash if WriteText() argument can't be converted to UTF-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:34:19 +00:00
Vadim Zeitlin
1ce52aa64b implemented ScrollLines/Pages() for GTK+ 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:32:44 +00:00
Vadim Zeitlin
c04ec49657 fixed inserting styled text into an empty control under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 19:59:00 +00:00
Vadim Zeitlin
7ff64980aa don't modify all wxBitmaps sharing the same wxBitmapRefData when SetMask() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:52:18 +00:00
Vadim Zeitlin
6726a6b097 implement HitTest(pos) variant and not HitTest(x, y) one as this is what Windows gives us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:32 +00:00
Robin Dunn
10a5988077 Avoid an assert in wxFrame::SetTitle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:31:48 +00:00
Vadim Zeitlin
692c9b8696 implemented HitTest() for GTK2; test it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:07:40 +00:00
Václav Slavík
9146872cb5 changed to behave in same way as native win32 control and generic wxListCtrl when wxEVT_COMMAND_TREE_END_LABEL_EDIT is vetoed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:28 +00:00
Václav Slavík
daa44d5bfd documented while event.Skip() is necessary so that nobody removes it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:23 +00:00
Václav Slavík
2e07bdda0a reverted JS' rev. 1.27 - the real fix was 1.28, disabling recursion protection is not good idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:44:46 +00:00
Włodzimierz Skiba
a2a03d7864 wxUSE_STL/wxArrayString fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 14:33:01 +00:00
Włodzimierz Skiba
99f161bd99 Correct definition of sorting function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 11:26:07 +00:00
David Elliott
db36543353 Fix compilation with older (before C99) C compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:25:48 +00:00
Robin Dunn
c7aee86546 Also don't send set focus events when the window is being deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:23:46 +00:00
Mattia Barbon
4e75b65f7c Added compatibility functions for wxUSE_STL = 1:
void wxArrayString::Sort(CompareFunction function)
void wxArrayString::Sort(bool reverseOrder).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:08:21 +00:00
Włodzimierz Skiba
b591b7cf2b Removed unused variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:35:51 +00:00
Robin Dunn
2116a0d13a Fix so sound looping will stop, courtesy of Ryan Norton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:13:19 +00:00
Włodzimierz Skiba
79c250d8d8 wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:52:08 +00:00
Vadim Zeitlin
6faac21b0b reimplemented wxBitmap::ConvertToImage() using wxDIB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:45 +00:00
Włodzimierz Skiba
e11d2abe46 Alternate form of condition readable for Borland compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:28 +00:00
Vadim Zeitlin
dd779a9e66 added wxDIB(HBITMAP) ctor and corresponding Create(); made GetData() return uchar * and not void *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:43:57 +00:00
Václav Slavík
0ca3b64f14 use sizers instead of constraints in wxProgressDialog (patch 980364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 10:15:36 +00:00
Václav Slavík
d8b5a5175b don't select first hit in index if it is multi-topic entry, it causes a dialog to pop up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 09:35:33 +00:00
Václav Slavík
166bcebb8e install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:28:28 +00:00
Robin Dunn
9e783cc099 Fix so async wxSound can continue playing after it is destructed,
courtesy of Ryan Norton.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 04:22:47 +00:00
Robin Dunn
cb8289465d 39 items is awfully big
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:06:37 +00:00
Robin Dunn
11df1e8a33 wxSOUND_SYNC is zero so it can't be used in a
(flags & wxSOUND_SYNC) test as it woudl always evaluate to false.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:42:52 +00:00
Robin Dunn
448971f395 If no colour name then use "BLACK"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 22:53:43 +00:00
Robin Dunn
f4d233c74a Call CreateControl instead of CreateBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 22:07:38 +00:00
Vadim Zeitlin
f8b2997476 pretend that we support all encodings instead of not supporting any of them under GTK2 (this at least prevents wxFontMapper from aborting the program with 'can't create any font' message)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 21:54:54 +00:00
Robin Dunn
36461f5811 Fixed incorrect ratio initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:56:40 +00:00