Commit Graph

32360 Commits

Author SHA1 Message Date
Mart Raudsepp
8394218c13 GTK2: gtk_check_menu_item_set_state -> _set_active; gtk_label_{parse_uline,set_text} and co ->
gtk_label_set_text_with_mnenomics


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:38:01 +00:00
Mart Raudsepp
38f1df7c9c GTK2: gtk_notebook_set_page -> gtk_notebook_set_current_page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:26:21 +00:00
Mart Raudsepp
1856b88fc3 GTK2: gtk_progress_bar_update -> gtk_progress_bar_set_fraction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:22:40 +00:00
Mart Raudsepp
34c1f23146 GTK2: gtk_widget_draw -> gtk_widget_queue_draw + gdk_window_process_updates. Do we really want to force an immediate
redraw here?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:14:34 +00:00
Mart Raudsepp
1ab9e06d6a GTK: gtk_menu_{insert,append} -> gtk_menu_shell_{insert,append}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:07:20 +00:00
Robin Dunn
c0ab3f7fbb Allow Save Settings to save even when AutoSave is turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:07:15 +00:00
Robin Dunn
a16c6fdcbd Don't assume that msw.remap was 1, instead change it back to what it
really was before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:05:15 +00:00
Mart Raudsepp
a7c12d28e6 GTK2: gtk_label_set -> gtk_label_set_text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 22:58:26 +00:00
Mart Raudsepp
e343da37ac GTK2: gtk_toggle_button_set_state -> gtk_toggle_button_set_active
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 22:53:37 +00:00
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
Mart Raudsepp
761a108c3b wxGTK2 compiles fine with {G,PANGO}_DISABLE_DEPRECATED. Define them to catch deprecated function usage for older
glib/pango versions and/or other systems. Is there a better place for this than defs.h?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 21:27:04 +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
ab552aa4d7 Better cleanup of circular references.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 06:51:34 +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
Julian Smart
8e1b6d43a7 Fix nonsensical checked menu item label and behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 18:19:04 +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
454a21e9cd use UNICODE=1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 02:20:02 +00:00
Robin Dunn
1efe352383 use UNICODE=1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 02:02:27 +00:00
Robin Dunn
7e08d4efc7 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 02:02:04 +00:00
Robin Dunn
9037d43c67 Mention the SWIG_VERSION change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 01:48:40 +00:00
Robin Dunn
e79c4165b4 minor layout tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 01:47:16 +00:00
Robin Dunn
6aabc8da32 Added wxPython wrappers for the new wx.Treebook and wx.Toolbook
classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-01 23:46:43 +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
Roman Rolinsky
3f31297359 updated from CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-01 10:25:54 +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
Włodzimierz Skiba
2b9238077a Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 21:27:40 +00:00
Robin Dunn
9ce001802c Delay part of the setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 17:48:19 +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
59fbed90b9 Added wxUSE_TOOLBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 15:12:00 +00:00
Julian Smart
5ec3bc4302 Regenerated configure for wxToolbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 14:37:49 +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
7567821087 Put MFC sample at end of list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 09:29:24 +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