Commit Graph

15354 Commits

Author SHA1 Message Date
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
Robin Dunn
6077391138 Set m_wheelDelta for wheel events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:06:56 +00:00
Stefan Csomor
625d14abfa ryan's QT implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 18:20:18 +00:00
Vadim Zeitlin
826800550b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:07:44 +00:00
Vadim Zeitlin
23afe648ce implemented wxNativeFontInfo::operator=() when wxUSE_PANGO, this fixes crashes when wxFont::SetNativeFontInfo() is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:00:13 +00:00
Vadim Zeitlin
ec91fc141f create the disabled button brush if we're not using Microwin, not if we're using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 12:23:54 +00:00
Stefan Csomor
3c86150dd7 first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:27:51 +00:00
Stefan Csomor
c5985061df first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:24:36 +00:00
Vadim Zeitlin
3338a5bde5 put the write end of the pipe in non blocking mode to avoid deadlocks and return from wxPipeOutputStream::OnSysWrite() without having necessarily written all the data as this is not always possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:39:23 +00:00
Stefan Csomor
e4b7e0b467 only on mouse-down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 05:25:08 +00:00
Vadim Zeitlin
45515b6685 don't suppose that all 32bpp DIBs have alpha, this is not true, the extra byte may be just padding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 23:45:28 +00:00
Vadim Zeitlin
c1296b82d4 don't waste time initializing the memory of newly created wxImage before filling it with PNG data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 23:41:54 +00:00
Vadim Zeitlin
06014e4f36 compilation warning about printf type mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 22:38:22 +00:00
Vadim Zeitlin
989a242196 AddFile(wxImage&) -> AddFile(const wxImage&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 21:59:43 +00:00
Vadim Zeitlin
cc8cc54f83 fix for opening files with VC++ 8 (closes bug 994337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 21:14:52 +00:00
Włodzimierz Skiba
fa0d344773 wxUSE_LOG fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 17:04:02 +00:00
Stefan Csomor
3b92f0e014 10.2 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:48:41 +00:00
Stefan Csomor
7ea087b721 background handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:40:49 +00:00
Vadim Zeitlin
5de9f492ec added DoPrepareDC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:30:22 +00:00
Stefan Csomor
7246375492 fixing best size to really include only 5 lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:53:57 +00:00
Stefan Csomor
70aaa701b4 correcting window variant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:38:18 +00:00
Stefan Csomor
065ab451bf for built-in dialogs, there is no m_peer instance, and still we might have a Refresh call issued, just leave
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:34:18 +00:00
Stefan Csomor
d88ffaaa76 trying to support non-wx controls on a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:10:11 +00:00
Stefan Csomor
aa99e0cd22 explicit scrollbar style flags needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:08:27 +00:00
Włodzimierz Skiba
7010702f63 WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 11:11:46 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Stefan Csomor
a2cffa18c9 corrected cwd manipulation for unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 09:19:22 +00:00
Stefan Csomor
a2c6537e60 removed mpthread and added thread.cpp and tglbutton.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 09:18:15 +00:00
Stefan Csomor
92e6d8693a corrected copied headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 05:21:39 +00:00
Kevin Ollivier
3109d19868 Fixed display issues for Panther now that wxTextCtrl has been fixed there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 20:56:00 +00:00
Robin Dunn
81bfa5ae22 Handle terminating NULL correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 20:51:18 +00:00