Vadim Zeitlin
9076e56d93
fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:39:58 +00:00
Vadim Zeitlin
2d76b6d8c3
implemented wxMemoryInputStream::CanRead() and added tests for CanRead() to all stream tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:38:09 +00:00
Vadim Zeitlin
764471557e
added wxMemoryInputStream(wxInputStream&, size_t) ctor (modified patch 1680108)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:28:28 +00:00
Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
cd632a8617
shutdown sockets gracefully instead of doing it with TCP reset (patch 1682438)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 02:14:33 +00:00
Vadim Zeitlin
e6733873f5
multiple fixes to wxJoystick under Unix and new index-based API for accessing joystick buttons and axes (patch 1678497)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:51:43 +00:00
Vadim Zeitlin
733f486aac
added support for wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:44:41 +00:00
Vadim Zeitlin
b62f94ff48
added wxGridUpdateLocker helper class wrapping Begin/EndBatch() calls in a more convenient and safe way
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:25:15 +00:00
Vadim Zeitlin
5ab9534bc6
fix GetSize() for large files (patch 1680876)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:18:05 +00:00
Vadim Zeitlin
4dd2530846
avoid duplicated empty help menu in localized applications (patch 1600747
)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:37:07 +00:00
Vadim Zeitlin
6fa2dd0eb9
don't add extra GetCharHeight() pixels to the top border if our label is empty (patch 1581459)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:25:20 +00:00
Vadim Zeitlin
4215a4386e
corrected example; minor fixes to the text; uncommented insertion of the bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 15:08:30 +00:00
Vadim Zeitlin
d774f9161c
added wxAppTraits::SetLocale() and call it during wxApp initialization in all ports, not just wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 01:46:14 +00:00
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
Vadim Zeitlin
09b86e698c
added support for wxTE_NO_VSCROLL (patch 1588605) and documented its behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:45:48 +00:00
Vadim Zeitlin
532ae0f6ff
set GtkRcStyle::text to fg colour too to allow changing the text colour in single line wxTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:19: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
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
Václav Slavík
7890307b53
deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:03:41 +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
28bf2f3c66
fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (patch 1667145)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:18:40 +00:00
Vadim Zeitlin
886f61cacb
fix base64 computation for strings whose length modulo 3 is 2 (patch 1665520; bug 1661616)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:07:16 +00:00
Vadim Zeitlin
c8db4e1560
fix hang on startup in Unicode build if any standard GTK+ command line arguments were passed (patch 1665203; bug 1663597)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:43:30 +00:00
Vadim Zeitlin
85bf679acc
fixed detection of number of processors under Linux 2.6 (replaces patch 1663444)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:23:47 +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
63e0279662
add a note about changing selection background colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:59:24 +00:00
Václav Slavík
24ad931818
deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:41:05 +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
0d045709bc
return correct client area for at least the primary display, fixes the problems with incorrect positioning of the Center()d windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 00:25:27 +00:00
Julian Smart
13dd765c70
Updated change log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:21:54 +00:00
Vadim Zeitlin
d71789cc5b
remove inexistent wxGetMultipleChoice()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 21:11:13 +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
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
Julian Smart
bdee9d109c
Doc corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:30:26 +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
aa05661d10
Slovak translation added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 13:32:46 +00:00
Vadim Zeitlin
9390546335
clarify Wait() semantics (see patch 1652076)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 19:17:18 +00:00
Václav Slavík
45d23373e0
fixed syntax errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:59:37 +00:00
Vadim Zeitlin
9f556d1dd6
added support for colour cursors in wxGTK (patch 1655576)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:02:34 +00:00
Vadim Zeitlin
fab86f26bf
miscellaneous minor corrections (patch 1652327)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:53:05 +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
Vadim Zeitlin
bb596005f5
wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized under wxGTK too now; documented this behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:27:26 +00:00
Vadim Zeitlin
d43eb2a0d5
return the restored window size from GetSize() when window is minimized (for consistency with wxGTK and also for convenience)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:21:06 +00:00
Vadim Zeitlin
1e93d59553
changed GetFromWindow() to take const pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:13:22 +00:00
Vadim Zeitlin
a6cdd52188
make GetSize() return the size of the window including the decorations and updated SetSize() to account for this as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:44:52 +00:00
Julian Smart
a61c912241
Reverted renderer changes and just use window variant within renderer functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 14:05:11 +00:00
Julian Smart
f8e1a81f3e
Added size constants to allow drawn control parts to match the window variant,
...
initially on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 17:16:24 +00:00
Vadim Zeitlin
f9b5691a1b
added const overload of GetChildren()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:27:25 +00:00
Julian Smart
aeb6ebe2a5
Added flag for removing attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:24:17 +00:00
Robin Dunn
4f767c1e8f
Set version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:13:44 +00:00