Commit Graph

40306 Commits

Author SHA1 Message Date
Vadim Zeitlin
2686d9339b fix __SUNCC__ definition; added wxCHECK_SUNCC_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:58:05 +00:00
Václav Slavík
f6e3890101 PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:55:42 +00:00
Václav Slavík
35fc0be75c added documentantion for wxMemoryFSHandler::AddFileWithMimeType()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:56:19 +00:00
Václav Slavík
4fc1c0f091 made wxUSE_UNICODE=1 the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:38 +00:00
Robert Roebling
4a3f5ad0f5 Forgot this part of the event change patch from 2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:03 +00:00
Václav Slavík
a342cb00c5 wxUSE_STL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:30:51 +00:00
Václav Slavík
57c42b6227 normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:28:59 +00:00
Robert Roebling
e0cfa71527 Upport: Always use GdkPixbuf in wxBitmapButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:26:48 +00:00
Václav Slavík
d3e9a6f3bf have only one string form of operator<< in output streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:12:21 +00:00
Václav Slavík
50e2789913 normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:10:36 +00:00
Robert Roebling
929bd94ee1 Upported event filter patch for wxTextCtrl::SetValue()
(work around doesn't work anymore with recent versions
     of GTK+).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:53:42 +00:00
Robert Roebling
696a18c7e7 Correct gridlines drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:11:47 +00:00
Robert Roebling
75aa53c927 Call clipping region methods from base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 09:18:30 +00:00
Paul Cornett
dd2422b320 gtk_widget_destroy does not unref the widget unless it's a TLW or in a
container, so use gtk_object_sink to delete temporary, parentless widgets.
Fixes memory leak bug #1741184.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 06:53:30 +00:00
Vadim Zeitlin
0d5c7b2dca document CreateConfig() (extended patch 1739374)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 02:01:40 +00:00
Vadim Zeitlin
76de6a6e20 don't use DLL export declaration with inline functions, it is ignored and just results in a warning from mingw32 3.4.5 cross-compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 22:29:07 +00:00
Vadim Zeitlin
76bfdc9ad9 changed AddPendingEvent() to take const wxEvent reference, it doesn't need to modify it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:56:50 +00:00
Vadim Zeitlin
414721d003 fix STL build (don't rely on implicit wxString to char* conversions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:45:46 +00:00
Vadim Zeitlin
7b673beff4 fixed compilation in Unicode build (it was silently disabled before...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:34:53 +00:00
Vadim Zeitlin
b05fde97c5 fix compilation in ANSI STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:29:39 +00:00
Robert Roebling
2fe90784ae Added minor clarification to the wxListBox events used
by wxVListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 19:49:26 +00:00
Vadim Zeitlin
c7c441ccee blind fix for wxUSE_WXDIB==0 compilation (replaces patch 1739858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 18:14:29 +00:00
Paul Cornett
420455b510 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 16:33:48 +00:00
Vadim Zeitlin
6164301821 pass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:21:03 +00:00
Julian Smart
700614e05e Copied fonts in art Clone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:16:10 +00:00
Julian Smart
fc17828ab2 Added font setting and ability to determine AUI notebook height for a given page height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Julian Smart
47fe7ff382 Added DetachOldLog to avoid destruction of old log target
Renamed wxLogPassThrough to wxLogInterposer
Added wxLogInterposerTemp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 12:44:38 +00:00
Vadim Zeitlin
dc99a350df document that wx[HV]SCROLL don't work with native controls not TLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:50:34 +00:00
Vadim Zeitlin
b9e7f0115d check that we do have scrollbars before using them to avoid crashes when SetScrollXXX() methods are called for windows which are not scrollable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:44:05 +00:00
Vadim Zeitlin
68ce1d3499 fix to the previous commit: percent signs have to be escaped first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:16:57 +00:00
Paul Cornett
18ac7bef9e fix reversed left/top variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 03:43:01 +00:00
Vadim Zeitlin
d81f6eac73 fix handling of '#' in file names (patch 1740328)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 00:05:01 +00:00
Vadim Zeitlin
d6a41cc7d5 single line wxTextCtrl fg colour fix is now in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 21:29:07 +00:00
Paul Cornett
4b01ba739a fix reparenting a control into wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 17:49:13 +00:00
Julian Smart
9b7835a516 Added extra width for controls to avoid edge being clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 15:36:26 +00:00
Julian Smart
079b2f6ba2 Fixed uninstalled toolbars in native toolbar mode, with a method for
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 14:02:06 +00:00
Julian Smart
a201463482 Fix for non-CG mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 13:21:46 +00:00
Václav Slavík
7978bc7293 remove implicit conversion to C strings from wxString if wxUSE_STL=1; this fixes problems with converting between wxString and std::string in some situations at the cost of having to use c_str() explicitly just as you have to when using std::string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:47:51 +00:00
Václav Slavík
e0a050e347 more changes to make wx compile without implicit wxString->char* conversion (for STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:44:45 +00:00
Václav Slavík
d38f70b249 use wxString in wxRegKey methods; make it compile without implicit wxString->char* conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:09:14 +00:00
Mart Raudsepp
be0ba55041 Fix SetExtraLong parameter type in docs from int to long. Noticed by nept2 on IRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 04:22:56 +00:00
Vadim Zeitlin
ba0f12ef24 mention changes from 2.8 branch too, at the very least keeping the 2 versions of this file on 2 branches in sync facilitates backporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:16:17 +00:00
Vadim Zeitlin
eb86e7755e don't free "static" alpha data (patch 1738966)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:10:35 +00:00
Václav Slavík
90a77e6484 make wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favour of wxUnsetEnv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 20:02:49 +00:00
Václav Slavík
531814a7fb added missing #if wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:58:56 +00:00
Václav Slavík
00711afdd6 return wxString from wxDynamicLibrary::GetDllExt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:29:07 +00:00
Václav Slavík
593177c566 use wxString in wxFileSystem::FindFileInPath()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 17:39:27 +00:00
Václav Slavík
cb296f303e compilation fix for non-STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 16:06:26 +00:00
Julian Smart
8d1547ef46 Finally fixed control scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 15:08:13 +00:00
Václav Slavík
d993e05b2d wxLog::Get/Settimestamp() now use wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 14:51:10 +00:00