Vadim Zeitlin
69c928ef47
added wxSafeConvertMB2WX/WX2MB() and use them when interfacing with C functions which crash if we pass them NULL pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:38:42 +00:00
Paul Cornett
92f4e151a6
put refdata virtuals in the right class this time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 16:46:24 +00:00
Vadim Zeitlin
d7e918b594
include wx/object.h now that wxConfigBase derives from wxObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 12:11:55 +00:00
Paul Cornett
61a0b9059a
use AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 03:00:47 +00:00
Vadim Zeitlin
0df7cb7e43
argh, added missing comma in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:32:53 +00:00
Vadim Zeitlin
c8b431ad4b
added wxWinVersion_Vista to wxWinVersion enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:31:59 +00:00
Vadim Zeitlin
412b97cc9a
derive wxConfig classes from wxObject and add wxRTTI macros to them (patch 1587607)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:29:44 +00:00
Paul Cornett
ce3b4b90c5
make wxPenRefData private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 23:04:18 +00:00
Paul Cornett
7c310bc89f
use AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 23:00:52 +00:00
Paul Cornett
855f31ebe7
source id type is unsigned; minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:51:55 +00:00
Vadim Zeitlin
c4ec0ce820
derive wxConfig classes from wxObject and add wxRTTI macros to them (patch 1587607)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:16:10 +00:00
Vadim Zeitlin
125817d0e3
allow using multiple wxBufferedDCs at once (patch 1589441)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:09:38 +00:00
Vadim Zeitlin
c905c0d60f
miscellaneous LnF improvements, including support for Vista-style (patch 1588794)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:06:11 +00:00
Vadim Zeitlin
6b06226335
added GetTextExtent() overload returning wxSize (patch 1631508)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:25:36 +00:00
Vadim Zeitlin
055de35012
added wxColour(RGBColor) ctor and use it insteaf of constructing wxColour from RGBColor manually in several places (replaces patch 1662064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:48:56 +00:00
Paul Cornett
be33a1c726
sizeof(char) is 1. By definition.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 03:41:37 +00:00
Vadim Zeitlin
a757b4a725
fix extra comma at the end of wxStretch enum introduced by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:31:04 +00:00
Paul Cornett
ca88598dd1
remove unreachable declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:31:24 +00:00
Paul Cornett
6d020baf20
use full repaint style instead of size event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:27:29 +00:00
Paul Cornett
7450674943
non-debug build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:26:10 +00:00
Vadim Zeitlin
39affc0451
made wxGetTimeOfDay() public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:44:16 +00:00
Vadim Zeitlin
8f98c051f9
fix infinite recursion typo in operator!=() (patch 1665591)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:18:07 +00:00
Vadim Zeitlin
696d13ee0e
added wxMutex::LockTimeout() (modified patch 1671637)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:22:11 +00:00
Vadim Zeitlin
c105dda081
native wxHyperlinkCtrl implementation for GTK+ 2.10+ (patch 1661851)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:12:47 +00:00
Vadim Zeitlin
041254895c
use wxRendererNative::DrawItemSelectionRect() to draw wxVListBox items background unless selection background colour is explicitly set (patch 1650804)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:58:18 +00:00
Václav Slavík
d8a4b666cf
deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:01:52 +00:00
Vadim Zeitlin
0db8bb5866
removed wx/wave.h which was deprecated since 2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:55:36 +00:00
Vadim Zeitlin
39b61aa3eb
removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:48:53 +00:00
Vadim Zeitlin
56c6fc01a9
no changes, just a typo in SetItemImage() comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:46:43 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Vadim Zeitlin
d38819f56f
use virtual size for the size of the buffer when wxBUFFER_VIRTUAL_AREA style is used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 08:54:13 +00:00
Paul Cornett
f08b7bec7f
use AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 06:41:04 +00:00
Vadim Zeitlin
86033c4b6f
handle mouse capture lost event in grid windows and reset the grid to normal state when it happens
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 22:18:35 +00:00
Vadim Zeitlin
9ac4391323
wxCreateGreyedImage() deprecated, use wxImage::ConvertToGreyscale() directly instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 20:57:46 +00:00
Julian Smart
20c81bed84
Fixed premature exit of helpview sample and utility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 19:48:43 +00:00
Václav Slavík
e960c20e38
changes wxDirExists() to accept wxString instead of wxChar*, so that it can be used with any string literals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 12:44:52 +00:00
Václav Slavík
1c8c91463f
allow using both char* and wchar_t* in wxFileConfig and wxConfigBase, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 20:03:50 +00:00
Vadim Zeitlin
30083ad8e7
Support encodings in wxGTK_CONV_BACK() in the same way as we do it in
...
wxGTK_CONV(), i.e. return the string containing text in ISO-8859-1 encoding
and not UTF-8 if the controls font was set to have ISO-8859-1 encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 15:41:56 +00:00
Václav Slavík
001ad728a4
changed wxArrayString::m_pItems from wxChar* to const wxChar*, the strings are not modified by the class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 15:19:16 +00:00
Robert Roebling
9861f022c3
[ 1665996 ] Fixes/extensions to wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 07:57:46 +00:00
Václav Slavík
d7330233fd
allow creating wxString from char*, assigning to it from char* and comparing with char* values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 20:05:43 +00:00
Václav Slavík
abb6edd197
added WXWIN_COMPATIBILITY_2_8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:02:14 +00:00
Robert Roebling
87f0efe2d7
Most of FM's wxDataViewCtrl patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 12:32:38 +00:00
Robert Roebling
4a11340a1c
[1660792 ] wxObject::Dec/IncRef and wxObjectDataPtr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 09:16:35 +00:00
Vadim Zeitlin
6e26499721
return size without decorations from size_request GTK callback in wxTLW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-15 12:38:55 +00:00
Vadim Zeitlin
f030b28c93
use AllocExclusive() instead of duplicating its code in wxFont-specific Unshare(); this fixes recreating the font whenever it is modified (even if it's not shared) bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 20:35:24 +00:00
Włodzimierz Skiba
c5dc89a1b1
Avoid do-nothing virtuals in WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 17:08:36 +00:00
Włodzimierz Skiba
261fb04124
Make QS_ALLPOSTMESSAGE available everywhere regardless SDK limitations.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 16:30:53 +00:00
Robert Roebling
be4bb86efd
Fix wxGTK wxListBox::Append() to return correct
...
index (also for sorted list).
Use wxControlWithItems::Insert(..) methods from
wxListBox (can probably be removed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 14:31:40 +00:00
Vadim Zeitlin
d12dce0f7f
made AddPendingEvent() virtual (patch 1652077)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:42:40 +00:00