Commit Graph

40166 Commits

Author SHA1 Message Date
Robert Roebling
c0a66d9237 Added initial OS X implementation of the wxDataViewCtrl
in its current tabular form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 23:40:24 +00:00
Václav Slavík
aec1621e4f marked WinCE implementations of wxOpen etc. functions as dllexported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 15:56:44 +00:00
Václav Slavík
eb6cb20793 fixed wxScanf() etc. to compile with Visual C++ again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 13:48:24 +00:00
Vadim Zeitlin
4c2a8d899d compilation fix after last commit: make wxAppConsole a class, not typedef, under non-Unix as we can't forward declare a typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 17:31:10 +00:00
Václav Slavík
c41845733d don't crash when using wxHtmlWidgetCell in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +00:00
Vadim Zeitlin
22cc2fd905 update from Hakki Dogusan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 18:11:39 +00:00
Vadim Zeitlin
1e96933183 fix typo in Selecting() description (bug 1726270)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:49:41 +00:00
Vadim Zeitlin
e0954e729d rename old wxAppConsole to wxAppConsoleBase and wxAppConsoleUnix to wxAppConsole for consistency with wxAppBase/wxApp and to fix the bug 1729377 (crash when using timers under Unix in console app); also #define wxApp as wxAppConsole instead of declaring it as a real class in console build to avoid problems with ODR violation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:39:23 +00:00
Vadim Zeitlin
74e10fcc6a reset one shot timer internal state instead of leaving it thinking that it's still running (mdified patch 1730597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:34:54 +00:00
Václav Slavík
c49f887978 wxSscanf() and friends are now Unicode+ANSI friendly wrappers instead of defines for CRT functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:56:50 +00:00
Václav Slavík
48a2e193ec compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:51:25 +00:00
Vadim Zeitlin
45344b3880 provide overloads for all kinds of strings for wxDataFormat ctor to allow passing strings as formats implicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:50:43 +00:00
Vadim Zeitlin
0a7ce61e65 add wx/unix/private directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 11:02:29 +00:00
Václav Slavík
c6255a6eab removed unneeded wxVaCopy calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 10:54:16 +00:00
Václav Slavík
5a20d2ced0 changed wxLog::OnLog(String) to take wxString instead of wxChar* to avoid unnecessary conversions; added compatibility code so that user code overriding these with char* or wchar_t* argument continues to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 10:04:05 +00:00
Václav Slavík
f8bcb37d99 changed wxFileSelector() etc. functions to use wxString (so that any forms of strings can be used with it, not just wxChar*), while still preserving compatibility with passing NULL to them)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 09:53:17 +00:00
Václav Slavík
a862159daa added comment explaining the condition for compiling manifest into resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 09:01:37 +00:00
Vadim Zeitlin
c73cff0535 mingw32 doesn't define _tsystem so provide one ourselves (bug 1726904)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 23:00:41 +00:00
Vadim Zeitlin
8f35356e49 initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:35:40 +00:00
Vadim Zeitlin
c253e005aa corrected wrong change description: raw RGB support was already there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:13:43 +00:00
Vadim Zeitlin
57beadd2b7 added raw RGB support and colour normalization to PNM handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:09:51 +00:00
Vadim Zeitlin
aad2787407 add ctor overloads for all kinds of strings to fix using strings implicitly as wxDataFormat objects after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:03:43 +00:00
Julian Smart
de6a9bb6c1 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 11:23:02 +00:00
Václav Slavík
5b87170050 use iterators in wxStaticText wrapping and escaping code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 17:21:46 +00:00
Vadim Zeitlin
ad8d42f83c factor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODispatcher class (patch 1729395)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:51:05 +00:00
Vadim Zeitlin
f463afe347 the same event handler class, not object, can be used with multiple windows (patch 1728835)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:34:47 +00:00
Vadim Zeitlin
94dd22873e upported changes from 2.8.5 (at the very least this simplifies merging between branches)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:23:41 +00:00
Vadim Zeitlin
b013c97102 enable non-top tabs workaround for Vista too (replaces patch 1724221)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:17:46 +00:00
Vadim Zeitlin
66160760e1 added msw.font.no-proof-quality system option as it makes more fonts available (feature request 1617941)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:56:36 +00:00
Václav Slavík
24d68c95ad partially fixed passing wxUniChar as vararg argument (non-ASCII characters are still broken in UTF8 build, other cases work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:45:19 +00:00
Václav Slavík
ba98e032a7 implemented wxMBConv::IsUTF8() helper for more classes so that all uses of UTF-8 are detected and optimized in wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:42:57 +00:00
Vadim Zeitlin
1d5fda5dc6 extract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGridCellAutoWrapStringEditor::Create() to ensure that it honours the base editor parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 22:05:12 +00:00
Vadim Zeitlin
1cd5e95c1c compilation fix: wxColour::GetColor() returns const object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 21:21:01 +00:00
Vadim Zeitlin
e0743e63ea suppress warnings about void* to uint conversion losing precision (under 64 bit architectures)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 21:19:28 +00:00
Vadim Zeitlin
1878d1ecef also correct run-time check for gtk_message_dialog_format_secondary_text() availability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 12:16:05 +00:00
Václav Slavík
c1e10a22b6 use wxString, not wxChar*, in wxCreateDynamicObject() and wxClassInfo::FindClass()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-31 13:08:44 +00:00
Václav Slavík
7652a41dc7 test if wxString(NULL) ctor creates empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-31 11:00:06 +00:00
Václav Slavík
a1eb65c246 use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 22:02:19 +00:00
Robert Roebling
b9b8b59c0d Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:03:26 +00:00
Robert Roebling
2a5e6d1b3a Experimenting with cell attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:02:33 +00:00
Robert Roebling
b086d55fe1 Implement for selection code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 20:31:53 +00:00
Václav Slavík
abde328337 fixed to the newly added crt.h header:
1. include it in makefiles
2. add proper header and guards
3. include wxchar.h so that the things to include are maintained in just one place


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 14:03:45 +00:00
Václav Slavík
6256849fdf changed wxGTK_CONV* macros to use utf8_str() and FromUTF8() so that we don't do any unnecessary conversions in UTF8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:55:09 +00:00
Václav Slavík
6e5f6c7c60 changed wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid unnecessary conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:50:36 +00:00
Václav Slavík
13e24d7987 wxchar.h doesn't have to be C file anymore, it's C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:43:27 +00:00
Václav Slavík
6e9b091980 wxGTK_CONV -> wxGTK_CONV_SYS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:14:13 +00:00
Václav Slavík
c1d028f225 put GtkArray into anonymous namespace, the name is too generic to risk conflicts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:56:41 +00:00
Václav Slavík
7e9b47df4f 1. removed useless GtkStr class, wxGTK_CONV is the way to do the conversion2. don't make unnecessary copies in GtkArray in UTF8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:53:51 +00:00
Václav Slavík
6679eeeb9b changed trivial accessors to return const wxString& instead of wxString object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:40:05 +00:00
Robert Roebling
c6538cfea9 Add wx/crt.h redirecting to wx/wxcrtvarargs.h
This should probably also be installed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 11:58:30 +00:00