Paul Cornett
559f60efa8
better fix for keeping m_pos in sync
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 05:13:00 +00:00
Paul Cornett
442a960c14
fix memory leak and performance problem in Freeze
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 04:09:53 +00:00
Vadim Zeitlin
1f640c45d4
more woodoo in DoGetBestSize() to get rid of tree borders for default-sizes controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:51:34 +00:00
Vadim Zeitlin
24bc71f48b
reset the old disabled image list even if there is no new one (bug 1604374)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:50:58 +00:00
Vadim Zeitlin
7c1bf4c171
escape '<' in strings with Pango markup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:49:49 +00:00
Robin Dunn
327bf990ab
Implemented wxLocale::IsAvailable for unix systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:52:46 +00:00
Robin Dunn
8d4b048e27
Ensure that the listctrl takes the focus on left-click
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:51:49 +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
Jouk Jansen
98528e9b94
Committing in .
...
added some #ifdef __WXDEBUG__ in the proper places around
wxLogTrace(TRACE_DND... statements
Modified Files:
wxWidgets/src/gtk/dnd.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 14:38:39 +00:00
Julian Smart
7c081bd21c
Fix for newline breakage
...
Inserting text now retains style at current position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 13:52:31 +00:00
Julian Smart
46ee0e5bf8
Fixed insertion point bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 12:39:21 +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
3706bae03e
Correction to style code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 14:52:36 +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
Michael Wetherell
a4cc2d0919
Add a hack to allow an external jpeg library to still be used on
...
cygwin/mingw/wine now that their windows headers define a type boolean
conflicting with the jpeg headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 21:42:57 +00:00
Robert Roebling
7fc5133e4c
Blind fixes for FindItem() for the native OS X
...
version of wxListCtrk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 21:34:17 +00:00
Robert Roebling
2373946593
Simpler version of [ 1604590 ] wxListCtrl::FindItem & wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 21:10:21 +00:00
Vadim Zeitlin
f85f5ddf88
fixed unused variable warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 00:29:13 +00:00
Robin Dunn
2dfa37d69e
Make room for the focus ring to be visible on Mac.
...
wxMac fix for resetting the focus to the textctrl when the combo ctrl gets it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:11:21 +00:00
Michael Wetherell
e26a41ba70
Rename boolean to wxjpeg_boolean to avoid conflicts.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 20:44:32 +00:00
Kevin Ollivier
c43411879c
Fix one-off error in virtual wxListCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 17:33:25 +00:00
Michael Wetherell
e604ac7991
Rename boolean to wxjpeg_boolean to avoid conflicts, e.g. with boolean
...
defined in the Windows headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 16:24:45 +00:00
Benjamin Williams
d606b6e977
added wxAuiNotebook::Split(); hooked up wxAuiMDIParentFrame::Tile() to it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 15:25:59 +00:00
Julian Smart
c3e016e45e
Added wxAuiNotebook::GetPageText, GetPageBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 14:55:05 +00:00
Kevin Ollivier
02095058ef
Fix SetItemCount bug with adding items, a blind fix for generic control dnd issues, native control impls for GetTopItem and GetScrollPos, and improve the code paths of the drawing color code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 06:52:39 +00:00
Kevin Ollivier
9fe25f1329
Propagate key up events to the wxGenericListCtrl parent, like we do with key down and char events.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 04:52:21 +00:00
Robert Roebling
0b24122688
[ 1603704 ] Fix g++ -Wall warning in gtk/src/toplevel.cpp
...
(when compiling against GTK+ 2.10).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:29:41 +00:00
Robert Roebling
92696e94f4
Compile fix of no backtrace() is present.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:20:50 +00:00
Kevin Ollivier
3611cec2e7
Ensure that InsertItem doesn't lead to a crash in virtual mode, and don't use SortProperty to determined column clicked in virtual mode as we cannot sort virtual controls and it returns an invalid value.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 18:40:06 +00:00
Vadim Zeitlin
16f32ee765
avoid assert in DoGetBestSize() for an empty tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 16:36:09 +00:00
Vadim Zeitlin
b9643cd619
cache the best size in overridden DoGetBestSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 16:35:06 +00:00
Vadim Zeitlin
c56d73fe00
NUL terminate the string in UngetWriteBuf(len) (bug 1594189)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:03:06 +00:00
Vadim Zeitlin
1d2c115e44
fixed missing initialization of line variable in InitFrames() (coverity id 213)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:02:32 +00:00
Vadim Zeitlin
b1bc4b6500
replaced assert in wxPrintfConvSpec::ReplaceAsteriskWith() with a wxCHECK to avoid crash in release builds (coverity id 212)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:02:15 +00:00
Vadim Zeitlin
566921195a
ensure that image data is always freed by using wxON_BLOCK_EXIT in ReadTGA() (coverity id 202)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:01:58 +00:00
Włodzimierz Skiba
c58ba15f08
Warning fixes and source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 11:04:21 +00:00
Michael Wetherell
7c8ec1005f
Check for G_FILENAME_ENCODING=@locale case insensitively.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 09:50:36 +00:00
Włodzimierz Skiba
2b041d4673
Cast adjusted to expected integer range.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 09:21:08 +00:00
Kevin Ollivier
4cd82e115c
Implement SetItemState for native virtual listctrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 04:13:04 +00:00
Julian Smart
9766efc33f
Don't apply bounding box adjustment when using generic tree control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 22:12:20 +00:00
Julian Smart
b35c7335f1
Added DnD guard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 21:50:51 +00:00
Vadim Zeitlin
a38cd629d7
compilation fix for BCC 5.5: use IsSameAs() instead of accessing m_refData directly which somehow fails with this compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 20:18:53 +00:00
Václav Slavík
82c74d8950
destroy IDirectFBWindow in wxTLW dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 20:05:14 +00:00
Robert Roebling
d182ca1ba6
[ 1603286 ] make wxMessageDialog Gnome HIG conform for yes_no+cancel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:46:00 +00:00
Robert Roebling
e8da6b7cef
[ 1601396 ] Fix copy of empty wxXmlDocuments
...
and minor doc update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:41:43 +00:00
Benjamin Williams
68fd4f2c14
selection bug fixed in wxAuiNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:38:36 +00:00
Benjamin Williams
793d436530
wxAuiNotebook minor tab art interface cleanups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 17:05:43 +00:00
Mattia Barbon
dab61ed75f
Use 1 as true and "" as false, not the opposite.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 14:22:29 +00:00
Julian Smart
486dd03abb
Styles now sorted alphabetically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 12:47:53 +00:00