Commit Graph

906 Commits

Author SHA1 Message Date
Vadim Zeitlin
f395a825a9 added CollapsePath() (patch 1494638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +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
164a797204 added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Vadim Zeitlin
0a089246e7 wizards not using sizers for the page layout now work again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:19:18 +00:00
Paul Cornett
e7445ff8ee move some data definitions to more appropriate places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Julian Smart
063d8a571c Applied patch [ 1489638 ] Trivial bugfix - missing constructor in wxGenericFontDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:16:47 +00:00
Paul Cornett
dbaf49a996 non-pch universal build fix: combo.h should not include combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:21:20 +00:00
Robin Dunn
f460c29d59 Use correct DLL import/export specifier for multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Vadim Zeitlin
a57d600f1a renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Vadim Zeitlin
a340b80d8a wxComboControl and wxOwnerDrawnComboBox (patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:42:45 +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
Robert Roebling
f644bc116b Blindly added wxImageList::replace( int, bitmap, mask )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 10:38:32 +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
Włodzimierz Skiba
d022d3649e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 17:31:27 +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
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
Julian Smart
fac6eaec24 Simulated text labels and toggle highlights under buttons
Removed background colour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:49:57 +00:00
Julian Smart
77631b1d81 Implemented Mac-style button toggling within wxButtonToolBar, and line
under toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:40:34 +00:00
Julian Smart
1a1190b245 Allow specification of border spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:38:48 +00:00
Julian Smart
e5f49cbf82 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:31:47 +00:00
Julian Smart
64d3ed176d Steps towards implementing native-style, non-top-level toolbars on Mac
by implementing a toolbar class that uses native buttons.
Ultimately this should allow wxToolbook and wxPropertySheetDialog
classes to look native, when we complete the button API improvements
to combine text, bitmaps and toggling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:15:10 +00:00
Robin Dunn
2b01fd4918 Use CmdDown in mouse events instead of ControlDown so Mac users can
multi-select with shift and cmd like they are used to.  Other
platforms are not affected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 00:09:35 +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
Vadim Zeitlin
a85a25c7d8 use wxLaunchDefaultBrowser by default if no browser is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:23:33 +00:00
Vadim Zeitlin
2364556be3 renamed m_MapFile into m_helpDir because this is what it really is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:05:07 +00:00
Vadim Zeitlin
249b3fe3bb rewrote wxExtHelpController loading code to use wxFileName as it was broken under Mac and it also reduces the code size; also use wxTextFile to further simplify the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:28:51 +00:00
Włodzimierz Skiba
f554a14b89 Source and warning cleaning after enabling wxUSE_DATAVIEWCTRL in wxMSW builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:01:33 +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
Robert Roebling
0fdc2321bc Implement basic MVC logic (change an item in one
view and all views update themselves) and made
   wxDataViewToggleCell react to mouse clicks as a
   test for that (generic code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:44:57 +00:00
Robert Roebling
90675b9582 Make generic wxDataViewCtrl draw its contents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:02:20 +00:00
Robert Roebling
3d9d7cc4f7 In the generic version of wxDataViewCtrl, all
cells are custom cells (nothing native).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:01:57 +00:00
Robert Roebling
4b3feaa75d Added windowing and scrolling logic to generic
implementation of wxDataViewCtrl (it runs now).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 12:30:06 +00:00
Robert Roebling
9d14de69f4 Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:41:41 +00:00
Robert Roebling
4ed7af081e Added (yet unfunctional) skeleton files fir
generic implementation of wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:37:24 +00:00
Robin Dunn
06db67bcb0 Applied Patch #1424869: Implement wxListCtrl::SetItemColumnImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:26:59 +00:00
Włodzimierz Skiba
cececf4db5 Don't send dummy wxCommandEvent. Make members private and use wxW coding standards for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:54:41 +00:00
Julian Smart
6b775e666c On WinCE, generic font dialog didn't work because the point size wxChoice
menu went off the display. Now a wxSpinCtrl is used. Also fixed the preview
window in PDA mode (was invisible).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:57:30 +00:00
Vadim Zeitlin
70ad0e06f0 need to include wx/treectrl.h to use CLASSINFO(wxTextCtrl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 23:40:01 +00:00
Vadim Zeitlin
26e8da413c implemented EditLabel() with custom text controls and GetEditControl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 15:32:29 +00:00
Vadim Zeitlin
7447bdd7b7 fix client to screen (and vice versa) conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 00:49:24 +00:00
Michael Wetherell
8d7eaf9140 Warning fixes for VC5 (Igor Korot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +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
Julian Smart
8cd96c6b44 m_border and accessors not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 17:37:26 +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
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
Włodzimierz Skiba
95d00805e0 #include moved to module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 18:59:49 +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
Włodzimierz Skiba
b7ba00e77a wxBusyInfo interface moved to generic to make space for possible native implementations. wxInfoFrame moved from header to module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 15:40:46 +00:00