Vadim Zeitlin
2158f4d798
moved all wxDialog event handlers to wxDialogBase to avoid code duplication
...
(sixplication?) among ports; as a side effect added public wxDialog methods to
wxDialogBase as well and moved EndDialog() (previously implemented by wxMSW,
wxMotif, wxMac and wxCocoa but not the other ports) to wxDialogBase too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:56:11 +00:00
Vadim Zeitlin
0be2741893
centralized Esc key handling for closing the dialogs in wxDialogBase:
...
1. added wxDialogBase::OnCharHook() and removed this event handler from
all the other ports
2. also removed ad hoc code doing the same thing in wxMSW (MSWProcessMessage()
override in wxDialog) and wxGTK (in gtk_window_key_press_callback())
3. reimplemented EmulateButtonClickIfPresent() portably and also moved it
to wxDialogBase from wxMSW wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:36:10 +00:00
Paul Cornett
772b376785
simplify coordinate transformation code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:30:06 +00:00
Vadim Zeitlin
22c9b21132
refactoring/simplification of code dealing with scrollbars and their events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 10:53:37 +00:00
Paul Cornett
5ac1d44aa4
Combine two wxImage-to-pixmap creation functions into one.
...
Use consistent method for creating mono bitmap in wxBitmap and wxMask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-14 06:26:35 +00:00
Václav Slavík
be2001fedd
moved duplicated wxRegionContain definitions to wx/region.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 14:26:55 +00:00
Václav Slavík
71451a6d16
moved wxIcon implementation for ports where it's identical to wxBitmap to generic/icon.{cpp,h} so that the same code is not duplicated several times
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 17:59:30 +00:00
Mart Raudsepp
07e497070e
Initial wxTLW::(Can)SetTransparent support for wxGTK. The return value of SetTransparent is currently very
...
optimistic and doesn't use the EWMH composite manager spec update proposal (_NET_WM_CM_Sn) yet. This is on purpose
until the proposal appears in EWMH new version draft and it gets used by more composite managers.
See http://www.nabble.com/Interaction-between-applications-and-compositing-managers-t1389248.html and in the
future http://standards.freedesktop.org/wm-spec/latest/ for details.
Some code reordering is probably in order (helper function to utilsx11?) and testing on non-traditional X servers
appreciated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 17:18:12 +00:00
Vadim Zeitlin
a10a31ce56
wxRadioBoxButtonsInfoList should be exported (should fix cygwin build link)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:38:11 +00:00
Václav Slavík
1029169f08
reformatted to fit on standard terminal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 12:25:48 +00:00
Vadim Zeitlin
a65ffcb229
use wxBoxSizer in wxPickerBase instead of doing the layout manually + other picker controls fixes (patch 1513042)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:07:45 +00:00
Vadim Zeitlin
58772e4992
picker controls improvements: fixes to valid paths recognition and event generation under GTK (patch 1510064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 01:04:44 +00:00
Vadim Zeitlin
ef33382e43
deselect all items when SetSelection(-1) is called (patch 1506943)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:46:32 +00:00
Paul Cornett
b85229d15b
remove redundant GdkBitmap representation from wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 18:30:13 +00:00
Paul Cornett
0006b9a540
remove obsolete color cube and image to bitmap code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 16:14:21 +00:00
Paul Cornett
4f558e23ff
build fix for older gtk2, second attempt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 03:37:24 +00:00
Paul Cornett
c668531784
1. more accurate conversion from 8-bit wx color to 16-bit GDK color
...
2. eliminate possiblity of wxColour RGB values changing depending on colormap
3. don't allow non-const pointer access to internal GdkColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 19:29:08 +00:00
Vadim Zeitlin
dc26eeb36a
make it possible to associate context help text with individual radiobox items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:13:13 +00:00
Paul Cornett
c757b5fee0
correct access for virtuals, unneeded includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 19:20:23 +00:00
Paul Cornett
8ea30e3603
don't generate a scroll event when setting scroll position from scroll event handler
...
fix setting scroll position from thumb release event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 18:35:29 +00:00
Michael Wetherell
556151f5ff
Commit pickers-fixes.patch added to 1472329 (Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 12:00:30 +00:00
Vadim Zeitlin
ec376c8fd9
added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Vadim Zeitlin
85ab460e7d
miscellaneous wxFont enhancements (patch 1496606):
...
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
ff3e84ffdc
File/dir dialog styles and other changes (patch 1488371):
...
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
a552d1201f
fix the bug which prevented the same wxFile/DirDialog object from being used twice (patch 1485127)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:01:21 +00:00
Vadim Zeitlin
6a1b3ead3f
added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:17:02 +00:00
Vadim Zeitlin
8e1a5bf979
added SetDoubleBuffered() (patch 1491093)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:30:08 +00:00
Robin Dunn
c1f50b06ec
I've now seen 2 or 3 themes that need this extra space in a label-less
...
static box, so I'm checking in my GetBordersForSizer change discussed
on wx-dev a few weeks ago.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:04:01 +00:00
Paul Cornett
c259ffdff7
unused win_gtk stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 17:51:55 +00:00
Paul Cornett
eb721ee29f
remove unneeded declarations missed in previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:41:27 +00:00
Paul Cornett
12a480c12d
gtk slider code simplification and better event determination
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:37 +00:00
Paul Cornett
7f81dfa1a0
gtk spinctrl code simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 17:04:16 +00:00
Paul Cornett
a01ed326cc
spinbutton code simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:08:25 +00:00
Paul Cornett
add7cadd99
scrollbar handling simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Vadim Zeitlin
6964cbbac9
make sure that IsModified() returns false when it's called from EVT_TEXT handler invoked because of SetValue() call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 00:20:20 +00:00
Vadim Zeitlin
781acf8347
removed GTK-specific SetModified() as we already have a public MarkDirty() which does the same thing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:58:20 +00:00
Paul Cornett
8539643021
unused member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:54:24 +00:00
Vadim Zeitlin
141d782d56
misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:10:11 +00:00
Paul Cornett
cb3db09022
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:04:48 +00:00
Vadim Zeitlin
aa1e6de9b1
implemented SetItemToolTip()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:40:06 +00:00
Vadim Zeitlin
f7ce0e4a5f
added static Apply(GtkWidget, tip) method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:34:10 +00:00
Vadim Zeitlin
d33704ddf2
renamed m_boxes to m_buttons because, well, it contains the radio buttons and not boxes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:00:34 +00:00
Robert Roebling
b50747ea53
Trying to commit wxDirDialog patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:44:29 +00:00
Mart Raudsepp
d95c5149ad
Add virtual keyword where applicable.
...
Rearrange declarations to match the order in base classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-29 00:46:05 +00:00
Włodzimierz Skiba
40989e46b8
[ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 14:52:23 +00:00
Paul Cornett
900ca9b89a
remove unneeded gdiobj.h files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 16:47:15 +00:00
Robert Roebling
533544f2ea
Added some column width contrl code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:14:36 +00:00
Vadim Zeitlin
6493aacaeb
centralized the handling of border styles; added borders support for wxListBox and support of other kinds of borders (patch 1448088)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:38:26 +00:00
Vadim Zeitlin
f516d98637
create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +00:00
Vadim Zeitlin
1a6c768b17
added wxGTK_CONV_FONT/ENC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:32:25 +00:00
Vadim Zeitlin
5851053a96
added wx/font.h include to fix PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 14:18:20 +00:00
Vadim Zeitlin
1cef1b4ab6
Unicode compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:05:18 +00:00
Vadim Zeitlin
5f11fef543
use the encoding of the font which is used to draw the text when convering it to UTF-8 in wxGTK_CONV; the old wxGTK_CONV renamed to wxGTK_CONV_SYS (uses system encoding) and used in the contexts where no font is available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 22:22:13 +00:00
Włodzimierz Skiba
ca3e85cfa8
Better backward compatibility and deprecation markup for interface deprecated in comments.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:17 +00:00
Włodzimierz Skiba
989ab1e5a6
Line-up deprecated interface of wxTreeCtrl between ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 13:11:20 +00:00
Włodzimierz Skiba
027d45e8fc
Back to unsigned int count in wxTreeCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 23:46:43 +00:00
Vadim Zeitlin
aa61d35253
replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:05:23 +00:00
Vadim Zeitlin
46cb4b3f8a
added wxGtkString::c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:31:35 +00:00
Robert Roebling
1d115baf4b
Added files for GnomeVFS backend (currently useful
...
for strictly nothing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:08:58 +00:00
Mart Raudsepp
35a489dd90
Introduce a convenience class for g_freeing a gchar* on scope exit automatically, as suggested by VZ
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:25:32 +00:00
Włodzimierz Skiba
8228b8932a
Line-up interfaces to use size_t for GetCount()s (and count related api).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:44:45 +00:00
Włodzimierz Skiba
b7e37e558d
Init() does not belong to public.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:37:23 +00:00
Włodzimierz Skiba
71ac8ec3c8
IsValid() is now in base class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:25:58 +00:00
Vadim Zeitlin
2e1f50128a
support mnemonics for wxStatic/RadioBox and made it easier to add support for more controls by virtualizing the mnemonics support logic (patch 1448178)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:21:19 +00:00
Julian Smart
b6e5dfeff3
Applied patch [ 1447666 ] Fix obscure GTK wxListBox construction bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 13:24:07 +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
Vadim Zeitlin
c00fed0ef4
added wxListBox::HitTest() from Ryan (patch 1446207)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 12:48:52 +00:00
Robert Roebling
04e044c4d6
Use GTK+ function to obtain GdkWindow for wxListBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 09:55:07 +00:00
Robert Roebling
4a46cbe8c6
Applied Ryan's native wxListBox and wxCheckListBox patch
...
in slightly modified form..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 21:51:42 +00:00
Robert Roebling
8f850e2831
Moved code around preparing the sorted model.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 15:04:25 +00:00
Robert Roebling
5d605a6995
MVC works now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 14:18:24 +00:00
Robert Roebling
33c0d0ed75
Make wxTransientPopupWindow ignore button down events
...
which have been sent before or at the same time as
the control creation time so that these evens don't
make the control disappear again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:16:28 +00:00
Robert Roebling
4d496ecbc4
Some restructuring, beginning of wxDataViewDateCell.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 15:48:42 +00:00
Robert Roebling
553f7d8f56
Makes custom cell activatable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 01:51:28 +00:00
Robert Roebling
1a36756471
Add scrollbars, fix crash, leak less memory.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 14:07:06 +00:00
Robert Roebling
ad63bf413b
Added wxDataViewProgressCell with native code
...
for GTK 2.6 and fallbacks otherwise.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 13:13:05 +00:00
Robert Roebling
e152afc3d4
Added wxDataViewCustomCell.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:19:55 +00:00
Robert Roebling
605c2c4ac6
added wxDataViewToggleCell
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 13:19:23 +00:00
Robert Roebling
74ab0bfbb7
New implementation for printing circles and epllipses.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 09:36:35 +00:00
Robert Roebling
a7f61f762d
wxDataViewCtrl now with editable text and multiple
...
views for the same data model (in the sample).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 13:34:15 +00:00
Robert Roebling
7b4fde8255
Route data from wxDataViewModel in a wxVariant
...
through wxDataViewCell::SetValue() to the
GtkCellRendererText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 03:04:15 +00:00
Robert Roebling
6842a71a5b
added wxDataViewCell
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 02:04:46 +00:00
Robert Roebling
fa28826dd3
Added wxDataViewColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 00:19:04 +00:00
Robert Roebling
6e2e590f2a
Add notifier class.
...
Only use listmodel for now, treemodel later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 20:52:05 +00:00
Robert Roebling
64ffb88849
Compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 18:12:44 +00:00
Robert Roebling
239eaa4154
wxDataViewCtrl WIP.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 17:35:19 +00:00
Mart Raudsepp
1efb5db896
Make everything compile with GTK_DISABLE_DEPRECATED declared.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 21:28:53 +00:00
Mart Raudsepp
b0c43acc87
wxGTK2: gtk_signal_disconnect_by_func isn't used anywhere anymore. Nuke prototype from gtk/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 23:44:40 +00:00
Vadim Zeitlin
0c131a5ad2
implemented ScrollLines/Pages() for all classes in wxGTK, not just wxTextCtrl (patch 1281503)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:53:34 +00:00
Vadim Zeitlin
f8855e4725
great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:51:23 +00:00
Vadim Zeitlin
6f02a879ed
make access specifiers for the virtual functions match their access in the base class (patch 1400131)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
Jamie Gadd
68df211fae
Deprecate wxDC::{Begin,End}Drawing()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 11:59:59 +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
Włodzimierz Skiba
b73e73f912
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@37164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 17:20:50 +00:00
Mart Raudsepp
bdbd4e9612
Nuke GTK1 from include/gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 21:00:19 +00:00
Mart Raudsepp
63ec432bd7
Move constant strings to .rodata/.data.rel.ro ELF segment from .data by making them really const.
...
If any more exotic toolchain decides to not export these strings into the core library anymore, let me know. Try to
compile the notebook sample, for example.
TODO: Move strings not meant for wxCore out of wxCore to the appropriate library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 14:59:55 +00:00
Julian Smart
224016a800
Added wxAddGrab, wxRemoveGrab for use by popup window implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:37:32 +00:00
Vadim Zeitlin
b2ff89d648
1. changed wxControl::GetLabel() to return the originally provided label and
...
not the one stripped from mnemonics (this was inconsistent with the other
ports and resulted in problems when using wxUpdateUIEvent::SetText())
2. added wxControl::GTKConvertMnemonics(), GTKRemoveMnemonics() and also
helper GTKSetLabelForLabel() and GTKSetLabelForFrame() wrappers
3. use them instead of duplicating their code in different derived controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:37:56 +00:00
Vadim Zeitlin
d1d40c2176
removed GetLabel() which didn't do anything but forwarding to wxControl version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:34:17 +00:00
Mart Raudsepp
b16de7461a
Remove my binary compatibility stuff from HEAD. Patch #1367014 used for reference.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 02:46:20 +00:00
David Surovell
739b752912
applied patch 1376506 - remove unneeded member variable from GTK wxRadioButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:44:46 +00:00
Vadim Zeitlin
27c78e4552
1. derive wxGTK wxRadioBox from wxRadioBoxBase now, as in all other ports
...
2. implemented wxRadioBox::IsItemShown/Enabled() for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:39:23 +00:00
Włodzimierz Skiba
0b04c4e0bd
Missing wxUSE_PALETTE markup ( #1369489 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:58:37 +00:00
Vadim Zeitlin
4292eeb4eb
fix unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 00:19:38 +00:00
Mart Raudsepp
90e572f1e5
Spelling fixes from Andreas Mohr (patch #1360064 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Mart Raudsepp
015dca24ca
[wxGTK] Support changing the wxSTAY_ON_TOP style value run-time through wxWindow::SetWindowStyleFlag, support for
...
more styles to follow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 20:00:50 +00:00
Włodzimierz Skiba
5bc3865fdf
Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 12:50:11 +00:00
Włodzimierz Skiba
2ea5111b0a
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 12:30:03 +00:00
Włodzimierz Skiba
cb8cc2506b
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 11:11:22 +00:00
Vadim Zeitlin
d32e78bd42
refactored wxGTK scrolling: it has now fully-functioning wxScrollHelper and a lot of duplicate code was removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:24:27 +00:00
Vadim Zeitlin
87a3ebe978
added GtkUpdateScrollbar; folded some code duplicated for horz/vert orientations in a single branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:22:47 +00:00
Mattia Barbon
dee1a63ff5
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
...
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
Ran build/update-setup-h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Włodzimierz Skiba
edc536d358
wxColour source cleaning. Corrections to 'const unsigned char' within wxColour docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 16:22:44 +00:00
Włodzimierz Skiba
1a1498c08b
Fix for mistake with const for non pointer/reference with corrections in documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 18:14:41 +00:00
Włodzimierz Skiba
46562151eb
wxBrush::SetColour and wxPen::SetColour unified. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 16:13:42 +00:00
Włodzimierz Skiba
853dcc57c6
wxItemContainerImmutable::FindString unified.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 16:54:43 +00:00
Michael Wetherell
20ceebaa87
Fixes for include guards, patch 1256967 Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:49:40 +00:00
Vadim Zeitlin
84006e65e8
removed wxABI_VERSION checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:23:30 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +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
Mart Raudsepp
ef1a9be407
[wxGTK] Remove wxTLW::RequestUserAttention related backwards compatibility hacks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-21 07:04:58 +00:00
Włodzimierz Skiba
389076f148
wxUSE_SPLINES markup and other cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-15 15:26:27 +00:00
Vadim Zeitlin
60e4975cb8
fix for -Wundef warning for HAVE_XIM under GTK1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 11:17:05 +00:00
Mart Raudsepp
f26623c817
[wxGTK2] gtk+-2.8.0 compatibility. Removed the usage of pango_x_get_context to not depend on a fully deprecated
...
pangox library, which is not pulled in with gtk+-2.8.0. The pango_x_get_context call was (arguably) making font
drawing on top of a wxDC slightly faster on (especially remote) X11 in case of non-antialiased fonts (I was unable to
find a non-antialiased font that actually returns true for GetNoAntiAliasing()).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 21:40:44 +00:00
Vadim Zeitlin
40eb3606eb
added GetCurrentSelection(); made GetSelection() behave as documented (and not as before); don't send TEXT_UPDATED events until the combobox is closed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 14:22:41 +00:00
Vadim Zeitlin
bb8051f2fd
hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh): declare and define Wrap() directly in wxStaticText for this port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:47:35 +00:00
Vadim Zeitlin
187202106f
NEED_GTK_ICON_SIZE_LOOKUP was incorrectly tested using #if instead of #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:25:20 +00:00
Michael Wetherell
20123d4958
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 22:58:06 +00:00
Michael Wetherell
5b12cceef8
Expand tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 20:57:54 +00:00
Mart Raudsepp
4a446b03dc
wxABI_VERSION guard for wxTopLevelWindowGTK::RequestUserAttention(int)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 10:03:56 +00:00
Mart Raudsepp
dca92ddfbf
wxGTK: Implemented wxTLW::RequestUserAttention()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 23:32:42 +00:00
Michael Wetherell
abc736fd0e
Declare gtk_icon_size_lookup if it is missing from the GTK+ headers (Bug 1177079)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 12:04:15 +00:00
Włodzimierz Skiba
e2effeb988
Use treebase.h for enum duplicated in port/treectrl.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 10:28:28 +00:00
Julian Smart
99d800190a
Added licence/copyright information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Robert Roebling
5b2e23bff6
Prevent unnecessary assert when someone tries to
...
move the native file dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 19:13:28 +00:00
Michael Wetherell
845905d588
Move G_FILENAME_ENCODING to wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:05:57 +00:00
Robert Roebling
a5040b80be
Implemented text wrapping for GTK (1.2 and 2.X).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 22:52:32 +00:00
Julian Smart
f8bc53eb53
Applied patch 1173802: Reimplementation of GtkFileChooser wxFileDialog
...
by Mart Raudsepp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:20:58 +00:00
Robert Roebling
66bf009984
Made wxConvBrokenFileNames public.
...
Made use of it from GTK+'s wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 23:15:54 +00:00
Vadim Zeitlin
34a34b020f
applied patch fixing problems with X server crash when using wxGLCanvas with nVidia cards (patch 1155132)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:06:43 +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
Vadim Zeitlin
0d97c09023
added orient parameter to wxMDIParentFrame::Tile()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 12:27:49 +00:00
Vadim Zeitlin
05c3f0fc73
oops, removed duplicate SetIcons[s]() added in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 15:10:30 +00:00
Vadim Zeitlin
d11e8786ed
wxMDIChildFrame::Maximize() should have default value for its argument just as wxFrame does; override other functions which don't make sense for wxGTK implementation of MDI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 15:04:27 +00:00
Vadim Zeitlin
294ea16de3
implemented wxMenuBar ctor taking array of menus/titles for all ports; added optional flags argument to it (patch 1162726)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:45:24 +00:00
Julian Smart
844adaa47a
Provided GetBestVirtualSize and DoGetBestSize implementations for
...
generic and GTK+ wxScrolledWindow.
wxWindowBase::DoGetBestSize was returning a virtual size if there were child
controls, which was then used to set the scrolled window actual size.
Similarly, wxWindowBase::GetBestVirtualSize was returning
the actual window size; now we return the virtual size
for dimensions that have scrolling (e.g. vertical scrolling
direction), or the minimum/actual size for those that don't
(e.g. the maximum control width if there is no horizontal
scrolling).
This allows the scrolled window to be properly sized, whereas
before it would start off at the virtual size (giving
enormous layouts).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:21:45 +00:00
Włodzimierz Skiba
e5b5075810
Base for wxMessageDialog with common checks for style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:34:42 +00:00
Vadim Zeitlin
1de1196ab3
gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 02:13:30 +00:00
Robert Roebling
8017ee9be3
Implemented wxRadioBox using a GtkTable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:31:31 +00:00
Włodzimierz Skiba
789f679516
Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:39:25 +00:00
Włodzimierz Skiba
1a87edf286
Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 21:02:41 +00:00
Vadim Zeitlin
a0573e8eb0
removed ambiguity from wxGLCanvas ctors (bug 1102544)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 01:52:23 +00:00
Kevin Hock
9440c3d0e9
wxTE_AUTO_URL for wxGTK2 from Mart R. [patch 1126182]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 02:55:32 +00:00
Robin Dunn
d64396087f
Avoid wxTaskBarIconAreaBase::DoPopupMenu unresolved symbol in GTK < 2.1 builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:06:08 +00:00
Robert Roebling
0ff2a74d0c
Implemented wxBitmap::HasAlpha() and ::UseAlpha().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 20:27:46 +00:00
Vadim Zeitlin
d2400c3ff3
another compilation fix: added dummy UseAlpha(0 and HasAlpha()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:16:33 +00:00
Vadim Zeitlin
f383c5b89c
compilation fix for raw bitmaps (can't include wx/rawbmp.h from wx/bitmap.h as the former includes the latter!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:14:19 +00:00
Vadim Zeitlin
c6179a847d
1. added SetSelection() to wxItemContainer and removed its declarations
...
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
ports and defined non virtual SetSelection() overloads in the base class
to avoid virtual functions hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +00:00
Vadim Zeitlin
64fa6f167e
removed multiple duplicate copies (with subtly different behaviour) of SetStringSelection(); left only one of them in wxItemContainer (and another one in wxRadioBoxBase, to be removed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:29:31 +00:00
Robert Roebling
284f2b59db
Added raw bitmap access support to GTK 2.0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 15:35:43 +00:00
Robert Roebling
a2ac55f54d
Make wxTLW::Raise() actually bring the window to the top
...
and give it the WM's focus (if supported).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:00:31 +00:00
Jouk Jansen
777105f2b7
----------------------------------------------------------------------
...
Committing in .
-delete superfluous semicolons
-Update OpenVMS compile support
Modified Files:
wxWidgets/include/wx/gtk/region.h
wxWidgets/include/wx/gtk/textctrl.h
wxWidgets/include/wx/motif/icon.h
wxWidgets/include/wx/x11/region.h
wxWidgets/src/common/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 15:01:49 +00:00
Vadim Zeitlin
8127b29715
use DECLARE_DYNAMIC_CLASS instead of DECLARE_ABSTRACT_CLASS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 15:48:00 +00:00
Robert Roebling
4b61c88d55
Second try to add "support" for deriving from
...
wxBitmapHandlerBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 14:17:27 +00:00
Robert Roebling
4611dd06a1
Make wxBitmap inherit from wxBitmapBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 13:08:44 +00:00
Robert Roebling
0bd3b8eca1
Enable UpdateUI events in wxTaskBarIcon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 22:39:03 +00:00
Włodzimierz Skiba
7d8268a1d6
wxTextPos for all GetLastPosition with constants for special cases. Make it virtual everywhere. Avoid doubling typedefs. Always include textctrl.h for combobox.h. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 16:25:34 +00:00
Włodzimierz Skiba
630ad6c6b6
Common default notebook name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:30:21 +00:00
Włodzimierz Skiba
b4efc9b931
Old API clearly deprecated. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:41:27 +00:00
Václav Slavík
49a1436640
blind fix for GCC compilation when #pragmas are honored
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:52:17 +00:00
Robert Roebling
5f3565a2fb
Fix for the fix for wxChoice selection.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-18 13:13:52 +00:00
Włodzimierz Skiba
b1263dcfa3
Make ComputeScaleAndOrigin() as virtual part of wxDCBase and this way present on missing platforms. Add into manaul too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 21:24:45 +00:00
Vadim Zeitlin
bd0a76e228
1. derived wxMSW radio box from static box because it includes the box anyhow
...
2. changed it to use wxSubwindows to cut down code duplication
3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither
MSW nor GTK (this is the only change in GTK code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:00:35 +00:00
Julian Smart
4e324a3fbf
Combobox corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:27:54 +00:00
Julian Smart
150e31d208
Added further 'missing' wxTextCtrl-like functions to wxComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:16:51 +00:00
Robert Roebling
78b3b018ce
Corrected wxComboBox::GetValue() after a
...
selection has changed. Added test for
that to the "widgets" sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:08:28 +00:00
Robert Roebling
16edee16a7
Apply choice patch for proper handling of clearing
...
wxChoice (it reported a selection value of 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 12:47:06 +00:00
Robert Roebling
4e1901b70e
Moved the implemtation of the generic and the
...
native GTK 2.4 file dialogs into one place
by making wxFileDialog derive from the
generic variant and by then choosing which
implementation to use. Later, we'll add
run-time checks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:30:18 +00:00
Włodzimierz Skiba
cb9d5bd07e
wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Robert Roebling
41b81aed52
Applied Freeze()/Thaw() patch for wxTextCtrtl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 20:52:36 +00:00
Włodzimierz Skiba
ab9d0a8ca3
IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Robert Roebling
c2740a5aab
Dirty hack to prevent double destruction of file dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 22:54:13 +00:00
Václav Slavík
6120f2fcdb
fixed subtle SetDirectory bug re-introduced by latest changes (explained in comment in UpdateDialog); reintroduced UpdateDialog so that fixes like this are kept in single place and affect all ways of setting the patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 10:49:01 +00:00
Robert Roebling
f1dec25f31
Avoid error message when closing message
...
dialog with the X field from the WM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:21:12 +00:00
Robert Roebling
76840ed0db
Fixes for file dialog. No longer spits out
...
GTK error messages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:18:40 +00:00
Robert Roebling
cffcf831ad
Work in progress on printing stuff.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 21:50:31 +00:00
Julian Smart
706fb8932a
Changed Rocketeer licence to wxWindows licence, by authorisation
...
of the copyright holder, Johnny C. Norris II
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:55:34 +00:00
Robert Roebling
08680429a2
Made wxPageSetupDialog a pimpl implementation.
...
Added a few clean-ups.
Added native GNOME page setup dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 14:46:25 +00:00
Václav Slavík
9755e73bd9
applied modified patch with native GTK wxFileDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Robert Roebling
0be7709e71
Added support for native print preview (GNOME)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:45:40 +00:00
Robert Roebling
2934005d7d
Use native printing dialog for wxPrintDialog,
...
not for setup only as before. It prints,
but page selection etc. is still an idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:59:50 +00:00
Václav Slavík
fe593cc504
(hopefully) fixed race condition in installing idle handler (calling wxPostEvent from non-main thread)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 20:04:59 +00:00
Václav Slavík
448c8e496d
m_wakeUpTimerTag is not used anywhere, removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 19:13:07 +00:00
Robert Roebling
cd86bf1e7e
Forgot to commit header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 20:47:05 +00:00
Robert Roebling
58c30cd80c
Further compile fixes.
...
Added module so that linking to GNOME printing
code will install its wxPrintFactory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 23:05:24 +00:00
Robert Roebling
7c72311fe1
Added --with-gnomeprint and its wxUSE_LIBGNOMEPRINT
...
Removed the now obsolete test for FT2 (FreeType)
which was used by the Pango based printing which
I removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 18:40:51 +00:00
Robert Roebling
ff910433fc
Added initial support for GNOME printing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 11:19:30 +00:00
Kevin Hock
34621cc5d6
Documentation patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Václav Slavík
e0aeebed0a
fixed previous revision: call wxControl's, not wxButton's DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 13:13:39 +00:00