Vadim Zeitlin
6b81fbd8de
do accept focus in notebook as it needs it for tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 23:00:36 +00:00
Vadim Zeitlin
3368424ae8
don't accept focus in book control itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:55:35 +00:00
Vadim Zeitlin
de160b0647
don't use wxControlContainer if wxHAS_NATIVE_TAB_TRAVERSAL is defined (currently it never is)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:41:11 +00:00
Vadim Zeitlin
ad02525dad
don't check whether the window is shown and enabled in AcceptsFocus() itself
...
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:36:24 +00:00
Vadim Zeitlin
4542739ccb
why was this class made a wxControlContainer (rev. 1.7), this doesn't seem to make sense -- and if it does it should probably be done at the base class level, not here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 21:17:19 +00:00
Václav Slavík
2233af93b0
remove wxStringBase::AllocCopy(), it wasn't used anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 19:46:05 +00:00
Vadim Zeitlin
b1c673942d
moved Write(const wxString&) to .cpp files as they're going to be changed again soon; removed unnecessary casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-24 14:42:29 +00:00
Julian Smart
bd3f83f763
Test for encoding conversion success in wxFile::Write to avoid crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-24 10:21:48 +00:00
Julian Smart
f3140390f9
Test for encoding conversion success in wxFFile::Write to avoid crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-24 10:20:14 +00:00
Vadim Zeitlin
c961c0cfca
fixed compilation for Windows compilers now after last change: replaced conversions to ushort and uint with a conversion to wint_t but do it for (non-Apple) gcc only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 15:16:08 +00:00
Vadim Zeitlin
2a686bd333
added conversions to unsigned short: this fixes compilation for some platforms where wint_t is ushort (mingw32)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 15:00:12 +00:00
Vadim Zeitlin
47a8a4d5cc
make IsEnabled() return false even if the window parent, and not the window itself, is disabled and added IsThisEnabled() implementing the old IsEnabled() behaviour; also significantly simplify the window state management code in all ports by factoring out the common parts in wxWindowBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:01:53 +00:00
Vadim Zeitlin
1a81eea8d4
also removed WXDLLIMPEXP_BASE from friend declaration of wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 12:27:51 +00:00
Václav Slavík
90adbcca75
wxLogGeneric usage compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 09:31:07 +00:00
Vadim Zeitlin
bb650010c8
removed dll export declaration for wxCStrData: it's unneeded because the class is fully inline and creates problems with mingw32 3.4.2 which wanrs about functions defined locally after being declared with dll linkage and then fails to link wxBase DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 01:45:17 +00:00
Vadim Zeitlin
ccd4deab6b
fix DLL build with MSVC: it wasn't happy that some functions of a template class were not implemented, so get rid of FromCStrData() and implement its logic in one of the 2 derived classes ctors instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 00:04:15 +00:00
Václav Slavík
d18c8d3d94
reimplemented wx[W]CharBuffer using templates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 23:31:08 +00:00
Vadim Zeitlin
17709275f9
added explicit conversion of wxCStrData to const void * to resolve ambiguity between const char * and const unsigned char * conversion when passing s.c_str() to e.g. file output functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 19:24:41 +00:00
Vadim Zeitlin
98c4eb3910
remove wxWINT_T_IS_TYPEDEF as it seems wint_t is always a typedef (although it can be either unsigned short or unsigned int or possibly something else)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 19:13:50 +00:00
Vadim Zeitlin
fb52c2b671
added macros to avoid code repetition when defining comparison operators; use them to replace existing operators in wxUniChar and wxUniCharRef (fixing bug in the operator== and != of the latter) and added comparison operators for const wxChar * and wxCStrData which are needed to compile existing code comparing pointers with s.c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:03:02 +00:00
Vadim Zeitlin
dbea442a15
added wxCStrData conversion to const unsigned char * too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 17:28:00 +00:00
Vadim Zeitlin
b77afb41f3
add operator+=(unsigned char) for backwards compatibility and because we generally handle both signed and unisnged chars everywhere; added wxString(const wxCStrData&, size_t) ctor to resolve ambiguity between wxString(const char *, size_t) and wxString(const unsigned char *, size_t) and wxString(const wxString&, size_t) to resolved embiguity for string parameter of ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 17:26:09 +00:00
Vadim Zeitlin
bd72306dc8
added conversion to unsigned int too: this is needed to be able to pass s[n] to standard toxxx/isyyy() functions under Windows when _MBCS is defined as they're mapped to _mbzzz(unsigned int) in this case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 15:24:28 +00:00
Vadim Zeitlin
6346588525
removed Matches(const wxChar *, int=0) overload: it creates ambiguity with Matches(const wxString&, int=0) one when re.Matches(s.c_str()) is called now that c_str() returns wxCStrData which can be converted to both const wxChar * and wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 15:20:50 +00:00
Paul Cornett
83dcd78142
revert use of AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-21 04:29:57 +00:00
Vadim Zeitlin
05cc594ad2
removed extraneous comma at the end of wxGridDirection enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:06:06 +00:00
Vadim Zeitlin
a7f8eb6d0f
removed extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:05:09 +00:00
Václav Slavík
9f1b1b78e1
added wxUniChar <-> unsigned char conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 15:49:45 +00:00
Václav Slavík
76046d7390
compilation fix after STL fixes if 2.8 compatibility is enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 08:14:06 +00:00
Vadim Zeitlin
d642a7226f
deprecate wxTR_EXTENDED and remove it from the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:35:49 +00:00
Václav Slavík
992527a573
fixed compilation if wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 19:23:33 +00:00
Václav Slavík
6580df1b72
fixed missing ; after class declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:27:08 +00:00
Václav Slavík
c7554da8a9
tagged IsEmpty(), Strlen() and Stricmp() global functions as deprecated, 2.8-compat (they're documented as compatibility only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:47:10 +00:00
Václav Slavík
dbecee02ed
use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:22:11 +00:00
Václav Slavík
d1b7ed6792
wxUniChar::unicode_type -> value_type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:17:37 +00:00
Václav Slavík
e3f6cbd99c
split wxchar.h into several smaller headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:45:38 +00:00
Vadim Zeitlin
c8eb817283
added wxString::operator=(const wxCStrData&) to make it possible to compile code like "wxString s = s.c_str() + 1" again (also fixes wxGTK1 compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:19:56 +00:00
Vadim Zeitlin
414b7b4016
added ctor for wxChar/WCharBuffer from wxCStrData in ANSI/Unicode build to make it possible to compile code like "wxCharBuffer buf = s.c_str()" again (in particular, fixes wxGTK1 compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:18:02 +00:00
Václav Slavík
e229d82e0e
fixed wxDataViewCtrl compilation with DigitalMars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:03:02 +00:00
Vadim Zeitlin
8cdd754651
initialize m_maxFD to avoid passing invalid values to select()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 02:27:34 +00:00
Vadim Zeitlin
d8b48f4de9
compilation fix after wxUniChar changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:21:07 +00:00
Vadim Zeitlin
551fe9528a
added wxXmString ctor from wxCStrData to fix compilation errors after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:53:06 +00:00
Vadim Zeitlin
c1df0a3b58
add overloads of wxString and wxCStrData::operator[] taking long, for consistency with std::string classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:06:17 +00:00
Vadim Zeitlin
acf0c9acfc
added wxCStrData::operator+(long) overload (this fixes some compilation errors in wxGTK1 and probably not only there)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:59:09 +00:00
Vadim Zeitlin
07d02e9ee0
fixed all the other ports broken by controls labels in wxToolBar patch commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:57:20 +00:00
Vadim Zeitlin
2a015b8917
replaced c_str() with mb_str() to fix compilation after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:52:35 +00:00
Vadim Zeitlin
cdb11cb99e
added labels support for toolbar controls for wxMac and wxMSW (modified patch 1613603)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:13:18 +00:00
Vadim Zeitlin
466e87bd8c
use wxStandardPaths and wxFileName in wxFileConfig resulting in big code simplification and cleanup but also in change of the default file locations under Windows (replaces patch 1620492)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:34:11 +00:00
Vadim Zeitlin
e3b81044ee
wxDC::StretchBlit() for wxMac and wxMSW (patch 1611973)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 15:32:27 +00:00
Vadim Zeitlin
abbb59e8eb
added wxJoin and wxSplit functions (modified patch 1638950)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:43:41 +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
Vadim Zeitlin
67393addd8
corrected WX_DEFINE_VARARG_FUNC_NOP usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:00:51 +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
Václav Slavík
f8087c0d2c
changed wxPlatform implicit conversion to string to return const reference to wxString instead of const wxString object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 20:10:17 +00:00
Vadim Zeitlin
72fa3e8a21
make wxFDIOHandler dtor virtual, it's meant to be used as a base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:17:04 +00:00
Vadim Zeitlin
30c45bdd06
refactoring: replace wxSocketDispatcher with more generic wxSelectDispatcher (patch 1618976)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:45:12 +00:00
Václav Slavík
b7452b3a0e
removed wxArrayString casting hack, it doesn't work with the new wxString class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 12:57:46 +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
f06db45d64
removed outdated Classic files to avoid confusing people
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 04:04:54 +00:00
Vadim Zeitlin
0024ec5086
extracted code including gdiplus.h in a separate header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:41:52 +00:00
Vadim Zeitlin
87d3473070
removed wxUSE_DIB_FOR_BITMAP which doesn't seem to be used any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:11:52 +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
aa67a27af1
implemented Set/GetLabel() (part of patch 1679337)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:46:08 +00:00
Vadim Zeitlin
d174f457e6
implemented GetLabel() (part of patch 1679337)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:45:47 +00:00
Vadim Zeitlin
8c58338193
allocate HPEN on demand instead of doing every time a pen property is modified; also significant code cleanup (finally)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 22:01:27 +00:00
Vadim Zeitlin
8e34db1d94
allocate HFONT on demand instead of doing every time a font property is modified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 21:59:55 +00:00
Vadim Zeitlin
adbd3cbc71
fix setting the properties of a valid but unshared font object broken in the last commit (HFONT wasn't recreated)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 20:35:58 +00:00
Vadim Zeitlin
39013ba095
removed extraneous semicolon (bug 1679080)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 20:34:46 +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
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
Vadim Zeitlin
3c77aabe59
define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0, this fixes linking in this case (replaces patch 1646340)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:14:49 +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
2ee322d90c
corrected version in the libraries names: it's only 2 digits even in development branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:50:43 +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
48e9cac2ad
Updated the mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 21:45:07 +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
Vadim Zeitlin
86ed9a0dc7
define wxUSE_DATEPICKCTRL_GENERIC as 0 if it's not defined already
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:24:17 +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
6cd674726b
Fix unused param warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 01:47:37 +00:00
Robin Dunn
bbd321ffc2
Added SetToolNormalBitmap and SetToolDisabledBitmap
...
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:13:03 +00:00
Robin Dunn
7fd3acaf54
Set version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 19:58:27 +00:00
Vadim Zeitlin
ef316e23c9
made (many) more wxGrid methods const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 19:10:09 +00:00
Vadim Zeitlin
b483f5fed2
corrected WXDLLIMPEXP_ declaration for wxEventBlocker: it's part of core, not base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 18:19:32 +00:00
Stefan Csomor
aea37008b7
adding scroll axis to wheel events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 06:24:28 +00:00
Vadim Zeitlin
28f15a1f70
add accessors using wxFileName to wxFile/DirPickerCtrl (patch 1622534)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:22:47 +00:00
Vadim Zeitlin
c4fa5aa7b0
added wxEventBlocker class (patch 1622444)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:12:50 +00:00
Vadim Zeitlin
535920ff93
don't wait for Windows messages in WaitForThread() if we don't dispatch events (should fix the bugs 1523302 and 1650795)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:12:34 +00:00
Vadim Zeitlin
e570a44b37
don't wake up on Windows messages when waiting for thread termination in a console application as this results in an infinite loop because we never process them and thus they remain in the queue for always (modified patch 1615875; closes bugs 877128)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 22:46:48 +00:00
Vadim Zeitlin
a56a1234a5
removed wxABI_TESTS, they're irrelvant in 2.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:40:59 +00:00
Vadim Zeitlin
ccee328e0b
Added wxSizerFlags::Top() and Bottom()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:26:31 +00:00
Julian Smart
f262b25c93
Added extra hit test style for more accurate reporting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-28 16:57:07 +00:00
Vadim Zeitlin
bc94d944d0
use LLONG_MIN instead of -1 (which is a valid time value corresponding to 1ms before Epoch) for the invalid wxDateTime m_time value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 17:37:54 +00:00
Václav Slavík
23205be83c
compiled fixes for builds without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 13:42:46 +00:00
Jouk Jansen
bb8bd6ef8a
Committing in .
...
adding #include <sys/socket.h> for OpenVMS.
mayby some other platforms need this include
Modified Files:
wxWidgets/include/wx/private/socketevtdispatch.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 07:51:56 +00:00
Václav Slavík
c04c7a3d0a
wxDFB: fix rendering artefacts when scrolling wxScrolledWindow that contains other widgets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:10:26 +00:00
Václav Slavík
42b0d8b96d
implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLevelWindow and wxPopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:04:49 +00:00
Václav Slavík
c3a58b249e
enable wxFontMapper in wxDFB port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 14:05:07 +00:00
Václav Slavík
33046a8283
fixed wxGetTranslation() prototype in the !wxUSE_INTL case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 12:26:19 +00:00
Robin Dunn
f24b783af3
Revert menus and toolbars to using wxNewId() too since their IDs can't
...
be negative either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:43:59 +00:00
Robin Dunn
1d51064ce3
Bump subrelease number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:17:39 +00:00
Robin Dunn
6646ca90e8
Added wxSearchCtrl::[Get|Set]DescriptiveText
...
Tweaked the layout of the subcontrols a bit
Lightened the icons to be more like Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 05:27:16 +00:00
Vadim Zeitlin
04af2f5ce3
added wxCONFIG_USE_SUBDIR flag to wxFileConfig (patch 1620876)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 22:38:21 +00:00
Vadim Zeitlin
0f0298b10c
added wxCSConv::IsOk() (patch 1637944)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:39:10 +00:00
Václav Slavík
627ddac99e
compilation fix for !wxUSE_STATBOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 18:27:58 +00:00
Vadim Zeitlin
186453cc7c
added wx/window.h included needed by last change using wxWindow::NewControlId() (fixed PCH-less builds, bug 1638781)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 17:00:52 +00:00
Vadim Zeitlin
9249d38d6e
use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with the user-defined ids
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:15:54 +00:00
Vadim Zeitlin
fb96cf856e
added wxDateTime::GetDateOnly()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:06:37 +00:00
Vadim Zeitlin
d95527de9a
added wxSizerFlags::Shaped() and FixedMinSize() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:52:55 +00:00
Vadim Zeitlin
fc2b0e31bb
added wxABI_VERSION check around new public wxFileHistory::Set/GetBaseId() methods and added them to version script
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:38:53 +00:00
Julian Smart
5d389b0445
Provide access to file history base id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 12:43:01 +00:00
Paul Cornett
8d206c073d
add wxToolbook checking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 17:54:14 +00:00
Vadim Zeitlin
d40e9e06bb
no changes, just refactor the code sending spin update event to SendSpinUpdate() instead of duplicating it; also initialize m_oldValue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:59:42 +00:00
Vadim Zeitlin
8ef74b15f7
add #if wxUSE_TOOLTIPS around DoSetToolTip()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:45:11 +00:00
Julian Smart
715ce94da9
IsRich should be defined even if wxUSE_RICHTEXT isn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 21:26:53 +00:00
Vadim Zeitlin
d200d68cbf
updated version to 2.8.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:48:56 +00:00
Vadim Zeitlin
4fd169bda5
updated version to 2.8.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:21:20 +00:00
Vadim Zeitlin
9fcf8144d9
added EVT_TASKBAR_CLICK and use it to show taskbar icon menu on right button release, not press, under MSW (bug 1623761)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:44:14 +00:00
Vadim Zeitlin
bcbec8656f
make HitTest() public (bug 1626543); this changes ABI for protected part of wx API but not for the public one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:27:33 +00:00
Vadim Zeitlin
0917b10c4b
disable wxCollapsiblePane compilation in wx/chkconf.h, not wx/generic/collpaneg.h (bug 1620397)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:26:19 +00:00
Vadim Zeitlin
3e85709e97
fix wxMDIChidFrame::GetPosition() (patch 1626610)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:42:00 +00:00
Vadim Zeitlin
35c4b4da0a
fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:36:54 +00:00
Vadim Zeitlin
f2bbe5b675
fixes and workarounds to return value of our own wxVsnprintf_() implementation: handle -1 as error and not an indication that there is not enough space (patch 1623077)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:17:28 +00:00
Vadim Zeitlin
a2dc658bba
set tooltips for the both subcontrols (patch 1622531)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:00:11 +00:00
Vadim Zeitlin
bf41d9034a
added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() to version-script and use wxABI checks for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:53:03 +00:00
Vadim Zeitlin
9248adc8da
added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() methods; documented wxTreeItemId (patch 1622125)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:02:57 +00:00
Stefan Neis
e196c0a258
Compilation fix for really old gcc versions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 13:28:16 +00:00
Robin Dunn
0eaf8cd16c
Add GetAuiManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 08:53:33 +00:00
Vadim Zeitlin
3e69f6e58e
rename Inside(x,y) parameters to avoid gcc warnings about parameters shadowing member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 13:36:49 +00:00
Paul Cornett
ffdbfc4a76
remove inline from declaration of functions which are not inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 19:49:10 +00:00
Julian Smart
61f84e2493
Process capture lost event to avoid assertion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-29 19:37:04 +00:00
Kevin Ollivier
de387fc99c
exposing generic system option define, adding missing event.Skip() to OnChar, and tweaking handling of scrollbars.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 06:33:57 +00:00
Kevin Ollivier
7e2ee0bf41
Add middle-item click support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-26 20:44:24 +00:00
Kevin Ollivier
b3ff5a475b
Implement LIST_KEY_DOWN support, and move new functions into wxABI_VERSION.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-25 00:21:05 +00:00
Václav Slavík
9c6d8b7cdb
fixed wxFrame background colour in wxUniv on ports without native wxSYS_COLOUR_APPWORKSPACE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 19:06:39 +00:00
Kevin Ollivier
ccea21ccf8
Implementing LIST_ITEM_RIGHT_CLICK event support, and fixing sorting (turning off code for native sorting).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 18:39:40 +00:00
Václav Slavík
574d48dbe4
removed #ifdefs that conditionally included the exact same code on Mac and non-Mac, instead of having just one copy of it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:33:09 +00:00
Vadim Zeitlin
6969c2c318
added AutoHFONT; allow initialize SelectInHDC later (and not necessarily in ctor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 22:11:16 +00:00
Kevin Ollivier
471046b088
Adding SetFocus to wxABI_VERSION.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 20:14:38 +00:00
Vadim Zeitlin
cc197ed421
restored (as deprecated) accidentally removed wx{Dir|File}Dialog::Get/SetStyle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 19:26:48 +00:00
Kevin Ollivier
bc63f2c969
Restore compilation with --enable-stl, fix SetFocus with the generic control, and re-instate the use of ids to sort when a specific sort function isn't being used.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 06:53:53 +00:00
Vadim Zeitlin
9b99c1e36a
changing ES_LEFT/CENTER/RIGHT styles only works for plain (not rich) controls and only under XP, recreate the control in SetWindowStyleFlag() if it's a richedit one or if the system is earlier than XP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 13:38:25 +00:00
Stefan Csomor
f02f4d43c5
fvisibility-inlines-hidden fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 13:49:26 +00:00
Stefan Csomor
f84a986cfc
fixing -fvisibility-inlines-hidden problem (IsOk function didn't get exported)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 05:43:19 +00:00
Robin Dunn
d7db6a4351
bump subrelease number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 20:22:32 +00:00
Václav Slavík
757b694ba8
wxDFB: fix events processing to support sockets events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 17:24:06 +00:00
Vadim Zeitlin
18c7af7e80
suppress a CodeWarrior warning about long to int conversion (bug 1616948)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 15:49:46 +00:00
Vadim Zeitlin
cd840087aa
fix compilation with wxUSE_STL=1 for VC6 (and presumably others) (bug 1614814)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:47:26 +00:00
Václav Slavík
d8bfd72731
wxDFB's wxICON and wxBITMAP should use embedded XPMs, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 17:45:06 +00:00
Václav Slavík
6b44a33553
moved wxX11's wxSocketTable to private wxSocketEventDispatcher class reusable in other ports (backport from SOC2006_SOCKETS branch); use it in wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 14:13:57 +00:00
Michael Wetherell
62f04b576f
Change wxMkDir/wxRmDir to _wmkdir/_wrmdir for Borland unicode builds to match
...
recent change of wxMBFILES.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 12:32:08 +00:00
Robin Dunn
8d3223cb32
Bump subrelease number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 01:52:43 +00:00
Robin Dunn
af1f44f17e
Also do LayoutControls from EVT_SIZE handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 00:53:52 +00:00
Kevin Ollivier
c60122bf37
Change event names to clarify that they are only fired by button clicks, and note ways of retrieving search queries in the docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:32:16 +00:00
Vadim Zeitlin
8bc333d76d
added $Id$ to the header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:14:07 +00:00
Vadim Zeitlin
ec184e3242
1. Renamed Set/GetXXXVisible() to ShowXXX() and IsXXXVisible()
...
2. Moved wxSearchCtrlBase to wx/srchctrl.h to avoid duplicating it
3. Removed gcc #pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:48:18 +00:00
Vadim Zeitlin
7a71ffc175
use wx prefix for wxUSE_NATIVE_SEARCH_CONTROL macro name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 12:57:35 +00:00
Robin Dunn
2efce8f1ad
include bitmap.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:48:02 +00:00
Kevin Ollivier
698db322d0
Improve default wxSearchCtrl GetBestSize() width and ensure that SetFocus focuses in the control's text area.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:35:46 +00:00
Robin Dunn
3f7f284d55
Modified form of Patch #1611222 , adds wxSearchCtrl (generic & native carbon HISearchField)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 06:19:27 +00:00
Václav Slavík
f0c3b72446
removed code that already exist in ~wxTLWBase from ~wxTLW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 15:53:29 +00:00
Vadim Zeitlin
870cf35c45
replaced size_t with unsigned int in wxAnimation and related classes and a couple of minor cleanups (use C++ comments; wrap long lines; put private parts after the public ones)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 14:18:37 +00:00
Stefan Csomor
9611686694
adding an autorelease capability (got weird crashes when deleting tools from a toolbar otherwise)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 13:08:42 +00:00
Michael Wetherell
e3a10e0c62
Revert last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 22:28:11 +00:00
Paul Cornett
1c3693e8f5
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 19:48:21 +00:00
Paul Cornett
67461bd124
rename RemoveIdleSource to SuspendIdleCallback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 17:46:20 +00:00
Vadim Zeitlin
1c714a5d07
implement To/FromWchar() as wxCSConv methods, otherwise wxCSConv(wxFONTENCODING_UTF16) didn't work correctly even if the underlying wxMBConvUTF16 did
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 16:19:34 +00:00
Vadim Zeitlin
73b30256a0
default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:52:59 +00:00
Paul Cornett
5a3ef19432
fix for SetPosition/SetInsertionPoint when called during Freeze
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 06:21:15 +00:00
Stefan Csomor
bf9a1615ed
switching from native rtti to wxrtti
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 15:06:38 +00:00
Paul Cornett
80a91c146a
class/struct mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:57:44 +00:00
Paul Cornett
291324e376
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:56:57 +00:00
Paul Cornett
bc48a5d75e
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:22:55 +00:00
Paul Cornett
2c685efab1
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:50:54 +00:00
Paul Cornett
3498362ed5
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:44:44 +00:00
Vadim Zeitlin
5059e05d42
we don't need to include wx/url.h from the header, we do need to include wx/uri.h from the .cpp file (fixes compilation when wxUSE_URL==0 but wxUSE_PROTOCOL_FILE==1)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 19:20:40 +00:00
Václav Slavík
5ea50c92a5
use WXDFB_FONTPATH variable instead of WXDFB_FONTDIR and search the dirs recursively for fonts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 18:48:04 +00:00
Robin Dunn
248802d010
Add wxGraphicsMatrix::Get
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 23:42:52 +00:00
Vadim Zeitlin
927637fdaf
allow dynamically changing most of text control styles in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 12:39:52 +00:00
Vadim Zeitlin
403e664e5b
removed empty and unused CalculateScrollbar() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:39:27 +00:00
Vadim Zeitlin
d63312a977
added a small helper ToggleWindowStyle() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:10:59 +00:00
Vadim Zeitlin
9ec927f89b
ensure that scroll position is always in scrolling range, otherwise we could have a window without scrollbars at all but with non zero scroll offset which was really strange
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:05:59 +00:00
Julian Smart
85d3d198c2
Use font encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:16:11 +00:00
Julian Smart
67339f7d9d
Added SetEncoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 08:26:24 +00:00
Vadim Zeitlin
e94e2d73e1
added default value for GetLocalizedResourcesDir() category parameter, as in the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:53:23 +00:00
Vadim Zeitlin
364663aa72
replaced the button suppressing the assert dialog with a checkbox (a slightly modified patch from Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:15:01 +00:00
Stefan Csomor
4280b8797f
adding raster op hook to graphics context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:23:42 +00:00
Stefan Csomor
e22cf4b310
adding raster op hook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:15:43 +00:00
Vadim Zeitlin
cc4f194e48
added Get(MultiLine)TextEvent() overloads returning wxSize which are used by wxPackageManager (patch 1595123)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 14:11:15 +00:00
Robin Dunn
d8dd53b239
Fix compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:52:54 +00:00
Kevin Ollivier
bb29edfaa2
Allow wxGenericListCtrl to correctly handle Get/SetScrollPos [bug 1584099].
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:31:25 +00:00
Václav Slavík
7bfe6e3091
destroy IDirectFBWindow in wxTLW dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 13:02:20 +00:00
Václav Slavík
4e1d79d308
implemented wxFontEnumerator for wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 10:14:28 +00:00
Robin Dunn
c97c995223
Return optimal label width from DrawHeaderButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 23:44:55 +00:00
Julian Smart
07b2748093
Correction to accessors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 13:50:12 +00:00
Robert Roebling
31383ebcc3
[ 1604925 ] Fix loading MIME types for KDE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 13:24:32 +00:00