Vadim Zeitlin
02d5015b1c
fixed incorrectly inversed test for parent [not] being deleted (patch 1624472)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-29 20:16:53 +00:00
Paul Cornett
046c2f1404
fix idle handling when a new event loop is run from an idle event handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 20:03:05 +00:00
Vadim Zeitlin
190b93449e
another fix for the default button in the dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:21:53 +00:00
Vadim Zeitlin
c0c677934f
make the continue button default, not the stop one, to avoid killing the application accidentally if it doesn't run under debugger and Enter is pressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 23:36:53 +00:00
Paul Cornett
8c70a78958
make sure style is set on menubar before querying its size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 07:19:21 +00:00
Robert Roebling
86b6546709
Moved allocate size correction code from combobox
...
to toolbar code since that is where the problem
is and it affects other controls, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 21:43:55 +00:00
Robert Roebling
a73ae836df
Add hack for correct height of wxComboBox in
...
toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 10:40:46 +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
Paul Cornett
b3ffb94d27
SetInsertionPointEnd should make the insert point visible, as SetInsertionPoint does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 17:50:50 +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
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
Paul Cornett
ec439571cb
re-enable blocking of wx idle events when assert dialog is showing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 17:22:08 +00:00
Vadim Zeitlin
bf34520682
1. don't assert if we're passed an empty defaultDir and full path in
...
defaultFileName (the other ports don't do it)
2. don't duplicate gtk_file_chooser_set_current_folder() calls for
save and open dialogs unnecessarily
3. reformated a couple of comments to fit in 80 columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 00:35:55 +00:00
Robert Roebling
8798d146b8
No longer break idle (and indeed all) event handling
...
after using the assert dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 21:38:09 +00:00
Paul Cornett
f4c4697652
remove redundant test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:20:56 +00:00
Paul Cornett
6fbe4b247a
use correct test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:20:16 +00:00
Paul Cornett
f7b7521722
indentation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:18:38 +00:00
Paul Cornett
41e2aad530
use computed justification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:18:03 +00:00
Paul Cornett
964c139b07
unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:16:14 +00:00
Paul Cornett
02112408ba
fix wrong parenthesizing of boolean expressions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:15:07 +00:00
Paul Cornett
7d7e4ed073
minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:47:43 +00:00
Vadim Zeitlin
16d17da6ca
explicitly call OnExit() in the ports which don't use wxEventLoopManual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 23:28:44 +00:00
Vadim Zeitlin
1457f12c31
use #define instead of static const to avoid warnings about unused TRACE_CLIPBRD in release builds with compilers which do support vararg macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 17:04:41 +00:00
Vadim Zeitlin
09dfa6a009
removed a couple of useless #if wxUSE_UNICODE tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 23:05:04 +00:00
Vadim Zeitlin
72a3ac9b55
uncommented code in wxgtk_list_store_get_value() and fixed its compilation (but no support for per-item encodings yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 22:59:27 +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
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
Vadim Zeitlin
62710178a6
don't show wxOnAssert() frame neither in the assert dialog, it's not interesting as it's always the same
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:29:23 +00:00
Vadim Zeitlin
8829531cdb
don't show line numbers as 0 when they're not available, show empty string instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:27:15 +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
Vadim Zeitlin
fcb29b2338
no changes, just de TABified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:59:40 +00:00
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
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
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
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
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
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
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
Julian Smart
3a2d0cecf9
Added missing include for FILE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 10:49:15 +00:00
Robert Roebling
db9febdf41
Actually use new GTK+ native assert dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:55:26 +00:00
Robert Roebling
30c4dd918a
Commit FM's GTK+ native assert dialog code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:50:20 +00:00
Robert Roebling
92120c6e89
Override SetLogicalOrigin and SetDeviceOrigin in GNOME
...
print DC as this will probably be needed to fix the
printing bug reported recently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:48:56 +00:00
Robin Dunn
4ed696943f
Remove unneeded code in wxWindowDC::DoGetPartialTextExtents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 15:06:48 +00:00
Vadim Zeitlin
1f91072fc8
handlers added using AddHandler() last must have the highest priority (patch 1522807)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:33:14 +00:00
Václav Slavík
68c957045a
don't expose M_FONTDATA in public header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:21:08 +00:00
Václav Slavík
873fd4af5f
don't expose M_FONTDATA in public header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:14:01 +00:00
Robert Roebling
1bd2ceb57b
[ 1598659 ] make wxAnimationCtrl::SetInactiveBitmap center given bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:46:29 +00:00