Robert Roebling
e4735aa9c6
Minor optical corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:41:36 +00:00
Vadim Zeitlin
b6f6729e23
don't always add wxCAPTION to wxMiniFrame style unconditionally (patch 1739821; backport from HEAD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:14:00 +00:00
Paul Cornett
6d727f6c10
expose handlers are supposed to return a gboolean;
...
false may be correct, at least it's not random
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:58:53 +00:00
Benjamin Williams
ba6ce5fbdb
vertically centered miniframe close button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 10:12:20 +00:00
Robert Roebling
1ed6bbc207
Fix wxMiniFrame caption height.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:55:59 +00:00
Paul Cornett
0416c41834
header includes cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 05:55:56 +00:00
Paul Cornett
1481968400
use "event" signal emission hook to install idle handler for many events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:07:45 +00:00
Włodzimierz Skiba
b41b2a052a
wx\settings.h is part of PCH support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:47:18 +00:00
Robert Roebling
85a0a12a9c
Added resize support to wxMiniFrame.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 11:08:42 +00:00
Robert Roebling
c67e060d09
Suppress warning from wxMiniFrame.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 10:01:40 +00:00
Robert Roebling
c4d3971185
revert bits for XBM bitmaps under MSW
...
adapt XBM usage in wxAUI to this logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 09:54:36 +00:00
Robert Roebling
6d976005cf
Use the same colour for miniframe title bar and
...
wxAUI title bars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:36:26 +00:00
Robert Roebling
00e4ffbc23
Readded close button to wxMiniFrame and use the
...
close XBM similar to the one used in Anjuta's
docking library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:07:33 +00:00
Robert Roebling
d02d8b4c27
Add opaque move support to wxGTK's wxMiniFrame.
...
Use it in wxAUI (much less flicker and frame
activation problems). wxMiniFrame and the
Docked panes in wxAUI should use the same
code to draw titlebar etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 14:02:53 +00:00
Mart Raudsepp
3fe39b0ce3
Don't cast with G_OBJECT when passing a GObject to g_object_ref, g_object_unref and g_signal_connect.
...
They take a gpointer, not GObject*, and unnecessary casting not all that speedy with GObject types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:17:38 +00:00
Włodzimierz Skiba
11dbb4bfab
Include wx/dcscreen.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 13:55:29 +00:00
Mart Raudsepp
2454dc8a64
GDK_ROOT_PARENT -> gdk_get_default_root_window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 17:50:58 +00:00
Mart Raudsepp
5e4bf05abd
gdk_gc_unref -> g_object_unref
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:26:57 +00:00
Mart Raudsepp
f5af73080a
And gdk_drawable_unref is in turn deprecated in favor of g_object_unref
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:06:00 +00:00
Mart Raudsepp
f368b5b9ab
gdk_bitmap/pixmap_unref -> gdk_drawable_unref
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:54:02 +00:00
Vadim Zeitlin
848332140b
moved wxapp_install_idle_handler and g_isIdle from many cpp files into gtk/private.h (patch 1435529)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:36:53 +00:00
Mart Raudsepp
1d13cff399
I'm no fan of that focus ring being drawn inside the wxMiniFrame close button after a click (and release not on the
...
button), making the button look weird. So... don't focus on click.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 13:06:06 +00:00
Mart Raudsepp
07d04e37fd
Optimize (for size) the cross_xpm used for the X button in wxMiniFrame. We use only 2 colors, so don't declare 16 of
...
them. Also swap the characters used to make the X visible in source code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 12:39:23 +00:00
Mart Raudsepp
9adb906369
GTK2: gtk_widget_set_uposition -> gtk_window_move for wxMiniFrame. No, I don't like emulated window moves, so I can't
...
use my wm to move this minifram, but alas for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 12:31:10 +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
9fa72bd2a6
Use g_signal* instead of deprecated gtk_signal*. Use proper casts for the arguments.
...
Worth norting from the GTK+ docs: "For future usage, direct use of the GSignal API is recommended, this avoids
significant performance hits where GtkArg structures have to be converted into GValues."
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 23:28:58 +00:00
Mart Raudsepp
68567a967b
Nuke GTK1 from src/gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 20:29:17 +00:00
Włodzimierz Skiba
340bfb43eb
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 14:19:41 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
865bb3251e
GTK+ callbacks must have C linkage (patch 1157384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:42:26 +00:00
Robert Roebling
400be13742
Applied patch to show title bar changes
...
immidiately in wxMiniFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-02 19:47:41 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Robert Roebling
ba71852396
Corrected wxMiniFrame for GTK2 and removed its
...
use of GetInternalFont(). Somehow, the close
button doesn't appear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:55:38 +00:00
Robert Roebling
fab591c5cc
Lots of updates for Unicode and GTK 2.0 support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:59:20 +00:00
Robert Roebling
2c990ec083
wxMiniFrame works again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:54:13 +00:00
Vadim Zeitlin
903506828b
fixes for the compilation warnings with Sun CC:
...
1. some fixes for "String literal to char * conversion" warnings (many
more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Robin Dunn
c2fa61e833
Changed wxRootWindow from a global to a staic variable with an
...
accessor function that initializes if on first use. This prevents
core dumps for apps that try to create wxBitmaps before the wxApp
object is initialized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:55:28 +00:00
Václav Slavík
08abd69b58
changed titlebar text colour from white to fg[GTK_STATE_SELECTED]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 21:46:18 +00:00
Robert Roebling
80629c8bf6
Next take at getting mini-frames even with Life! to work...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:41:27 +00:00
Robert Roebling
8185521695
Fixed mini-frame problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:47:23 +00:00
Robert Roebling
a56fcaaf46
Some more drawing things,
...
Tried to make miniframe stay on top, doesn't work,
Make radio box big enough for its title,
Can't anylong close disabled toplevel windows,
Minor other changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 18:40:52 +00:00
Robert Roebling
8480b297e7
Using the best visual is now an option.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 17:37:37 +00:00
Vadim Zeitlin
13111b2ac8
1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
...
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Robert Roebling
5d5b3a40f3
Corrected miniframe.
...
Changed wxTB_HORIZONTAL to be wxHORIZONTAL, not wxVERTICAL..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:12:42 +00:00
Robert Roebling
7941ba111c
Applied patch for multiple file selection, documented.
...
Fixed some compilation warnings,
Minor change to OpenGL code.
Documented wxImageHandler::GetImageCount() and related.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 14:08:42 +00:00
Robert Roebling
5e7e9e1b68
More #include changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:46:33 +00:00
Robert Roebling
da048e3d4c
Renamed GtkMyFixed to GtkPizza,
...
Made default button work more often than before.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:20:44 +00:00
Robert Roebling
11e1c70d8e
Small distrib changes,
...
Use GTK's native insert for wxListBox,
Compile pacthes for AIX,
wxClipboard things,
Ignore wxSIZE_AUTO flags in wxDialog and wxFrame,
Ignore toolbar size in wxFrame::Get/SetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:45:01 +00:00