Commit Graph

17755 Commits

Author SHA1 Message Date
Mart Raudsepp
92ed8becfc GTK2: gtk_timeout_add -> g_timeout_add; gtk_timeout_remove -> g_source_remove.
Fix gtk_frame_urgency_timer_callback return type (gint -> gboolean).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 22:22:27 +00:00
Mart Raudsepp
43a52404ac GTK2: gtk_window_set_policy -> gtk_window_set_resizable. Slight change for resizable toplevel behaviour -
allow_shrink is now always FALSE - it being TRUE is told to be 99% of the times a bad idea, too. I think we aren't
the 1% case here


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 22:08:01 +00:00
Mart Raudsepp
67b73b9aab GTK2: gtk_draw_* -> gtk_paint_*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 21:57:03 +00:00
Mart Raudsepp
370dc79c5a GTK2: gtk_widget_set_usize -> gtk_widget_set_size_request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 21:51:21 +00:00
Mart Raudsepp
5d038ec59c GTK2: gtk_idle_add_priority -> g_idle_add_full; gtk_idle_remove -> g_source_remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 21:44:31 +00:00
David Surovell
162d3be3ca minor reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 21:15:25 +00:00
Mart Raudsepp
158949492d g_main_set_poll_func(x) -> g_main_context_set_poll_func(NULL, x). Former deprecated since glib-2.2. Latter available
since at least glib-2.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 20:57:00 +00:00
Mart Raudsepp
afa7bd1eef Remove obsolete GTK1 compatibility macros. Patch #1413458 - Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 20:38:55 +00:00
Mattia Barbon
1794103bab DeleteFunction argument should be non-const since it
is deleted inside the function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 18:26:55 +00:00
Julian Smart
f219764488 Fix for WinCE - no delayed sizing for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 16:30:14 +00:00
Julian Smart
7e02be855d Applied patch from Neil Robinson to allow manipulation of unattached menubars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 16:29:05 +00:00
Robin Dunn
84d08d87eb Fix for bug #1422217. Menu items with the checked bitmap set need to
be owner drawn.  This also fixes submenu items that have a bitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 20:59:24 +00:00
David Surovell
fd0fca1a25 add missing wxHTML sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 17:00:33 +00:00
Julian Smart
f9ed2d1680 Scroll text into view when typing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 13:05:30 +00:00
Robin Dunn
917cd965fa Set the toolbar orientation based on the wxBK_ alignment style flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-01 23:45:14 +00:00
Włodzimierz Skiba
b2383543b6 eVC3 build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-01 15:23:19 +00:00
Włodzimierz Skiba
63a3cd7a8c wxOS2 warning fixes after daily build log.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-01 13:52:08 +00:00
Włodzimierz Skiba
96dcd41a12 [ 1420190 ] Enable backspace key on smartphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 21:37:32 +00:00
Włodzimierz Skiba
6fc07dd8c0 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 21:29:13 +00:00
Julian Smart
556bf2c368 Mac doesn't like getting an icon if it's a bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 16:22:54 +00:00
Julian Smart
bd1a4a99fc wxControl::SetLabel no longer strips out codes so do it here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 16:01:19 +00:00
Julian Smart
4c410aa14e Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 15:37:19 +00:00
Julian Smart
cc8bc5aa9c Added SetSheetStyle to property sheet dialog to allow specification
of alternative book styles and shrink-to-fit mode
Updated dialogs sample with example of toolbook-style property sheet dialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 13:54:17 +00:00
Julian Smart
93bfe54527 Introduced the ability to size a book control based on the currently selected page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 13:51:33 +00:00
Julian Smart
77fa9e4447 Added toolbook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 09:28:51 +00:00
Robin Dunn
e062c6a4d0 Another patch from Tim Kosse for using images on more than one column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 02:37:23 +00:00
Robin Dunn
e731cb64e6 Putting the SetBestFittingSize() call at the end of wxToolBar::Realize
seems to cause more problems than it fixes, and in fact I can't seem
to duplicate the problems that it had before any longer, so let's
remove it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 01:55:59 +00:00
Włodzimierz Skiba
588be5ae1c Last parameter of GetVolumeInformation() is not pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 00:54:26 +00:00
Julian Smart
84dc821c24 Reverting patch 1325857
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 20:04:58 +00:00
Robin Dunn
34d6780ea2 This is a TOOLBOOK, not a LISTBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 16:38:19 +00:00
Julian Smart
3c55b3652b Added wxToolbook class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:35:04 +00:00
Julian Smart
233387bdcb Separated out book control sizing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:19:48 +00:00
David Surovell
9d7d3b1f9f remove extraneous whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 08:49:53 +00:00
David Surovell
09e28f7f8d minor changes as per RN comments - add some comments and reorder a switch stmt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 18:25:40 +00:00
David Surovell
13a1e96f92 improved LaunchDefaultBrowser on FreeBSD systems by using the BROWSER env var when no HTML file MIME mapping is found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 18:06:09 +00:00
Stefan Csomor
e8027adbb6 converting menu ids and safeguarding against missing menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 12:28:56 +00:00
Julian Smart
c137ddc91f Further attempts at WinCE media control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 10:56:27 +00:00
Vadim Zeitlin
3110909fec SetSelection() must update m_selectionOld, otherwise it doesn't correspond to the real selection any more and selection change events are sent twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 00:43:23 +00:00
Julian Smart
be96ed8c5d Further steps towards media control support in WinCE (Ryan Norton)
- not yet working


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:32:12 +00:00
Vadim Zeitlin
b9bae707bb don't eat all events if m_maxLength is 0: this means no limit according to the docs and both wxMSW and wxGTK behave like this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:05:23 +00:00
Vadim Zeitlin
f20e3df6d3 fixed MIPSpro version in the comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:50:16 +00:00
Włodzimierz Skiba
a33e2266dc Fix fro conflict between defs.h and glib headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:32:03 +00:00
Stefan Csomor
aa44b55d4f removing unnecessary code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:05:23 +00:00
Stefan Csomor
04bf2fb515 adapting keycode field usage for EVT_CHAR in unicode to MSW variant (full unicode char)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:04:15 +00:00
Włodzimierz Skiba
799181197d Fix fro conflict between defs.h and glib headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 15:43:16 +00:00
Stefan Csomor
8071012d63 app.h must be included for the non RAEL implementation, as universal binaries command line builds don't support precomps yet ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 09:50:40 +00:00
Kevin Hock
204b046ea0 Fix InterruptWait on wxBase; use polling on wxBase (wxStopWatch is unavailable) and also correctly restore timeout to original value after _Wait [ Slightly modified patch 1410868 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 00:50:11 +00:00
Vadim Zeitlin
3f8e6923b0 tentative compilation fix for MIPSpro 7.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 00:23:48 +00:00
Włodzimierz Skiba
0ba6a83624 Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:53:08 +00:00
Włodzimierz Skiba
78f9336500 Blind fixes for warnings in wxTinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:22:56 +00:00