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
Václav Slavík
a5398eb9c4
return wxString from wxTextBuffer::GetName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 13:54:23 +00:00
Václav Slavík
dc65c743e5
changed wxFFileOutput/InputStream ctor 'mode' argument to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 11:57:48 +00:00
Václav Slavík
35f1f4f7ea
changed wxGLContext::SetColour() argument from wxChar* to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 11:54:36 +00:00
Václav Slavík
09f0108224
made the code a bit more readable by not using _T() around to-be-generated code snippets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:30:20 +00:00
Václav Slavík
5881d27bcf
made the code a bit more readable by not using _T() around to-be-generated code snippets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:22:08 +00:00
Robin Dunn
993f08452d
Coerce to floating point to fix ResampleBicubic. See bug #1736953 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:39:13 +00:00
Robin Dunn
d1b736b796
Send the calendar and date changed events to the datepicker ctrl first
...
(not its parent) so they can be caught by dynamic event handlers
connected directly to the picker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:34:56 +00:00
Mattia Barbon
ad877f92c6
Must update iterator to avoid infinite loop
...
in case backend initialization fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:23:09 +00:00
Václav Slavík
c5d7b81ecf
improve XRC loading performance on Unix by avoiding MIME database loading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:43:34 +00:00
Václav Slavík
dd25c6ee10
make our vsnprintf() implementation work for ANSI version too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 16:14:25 +00:00
Václav Slavík
300b44a933
fixed wxString iterators linked list corruption
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 08:55:11 +00:00
Mart Raudsepp
6cfdfed86b
gtk_border_free is for freeing GtkBorder's, not g_free.
...
Using g_free instead used to have no ill effects as gtk_border_free called that anyway, but in gtk+-2.11 GtkBorder
uses GSlice and gtk_border_free therefore uses g_slice_free and using g_free makes things crash hard.
So fix it or wxGTK won't work with the upcoming gtk+-2.12 stable release planned for end of July.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 06:03:50 +00:00
Mart Raudsepp
9ce97705fc
Fix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_URL style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 04:54:41 +00:00
Václav Slavík
8eb3a3a923
when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530 ; this is standard behaviour when selecting text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:52:40 +00:00
Václav Slavík
117f4046d7
fixed selecting part of word from right to left in wxHTML (patch #1719530 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Mattia Barbon
416a4799e5
Linking fix: g_isIdle is for GTK1 only.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 11:02:03 +00:00
Václav Slavík
69cce15178
determine wxFSFile's MIME type when wxFSFile::GetMimeType() is called instead of creating it; this dramatically improves startup times of XRC applications on Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 10:59:01 +00:00
Václav Slavík
81c882b613
don't make read-only text controls editable when enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 09:29:41 +00:00
Vadim Zeitlin
d476275306
correct setting of pSymbol->SizeOfStruct (patch 1737789)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 00:51:36 +00:00
Vadim Zeitlin
b01204c942
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:57:25 +00:00
Václav Slavík
aff909dd4f
fixed crash when setting locale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 19:11:40 +00:00
Václav Slavík
994f04a3f2
wxUSE_STL compilation fixes for wxGenericFontDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 17:32:09 +00:00
Václav Slavík
410390cf09
removed code for compatibility with OS X <= 10.2, 10.3 is the minimum since wx-2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 17:15:16 +00:00
Vadim Zeitlin
80820772ad
changed wxIsxxx() to return bool, not int, to avoid int->bool conversion warnings from VC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:45:01 +00:00
Václav Slavík
f966a73d40
fixed FromUTF8() to accept NULL as well as len==npos; this fixes crashes when loading XML files in UTF-8 build with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:29:52 +00:00