Commit Graph

9382 Commits

Author SHA1 Message Date
Paul Cornett
452418c4b0 Move some things to wxBitmapBase to avoid much duplication.
Use proper const for XPM data, and const void* for arbitary bitmap data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 08:04:49 +00:00
Robin Dunn
e6fd62dd84 Override CreateItem so wxListBox can turn its notifications into events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 06:37:50 +00:00
Vadim Zeitlin
ca7adbf8bc initial implementation of wxAboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:02:04 +00:00
Vadim Zeitlin
9211cf3c43 added wxUSE_ABOUTDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:59:09 +00:00
Paul Cornett
2365667381 some cleanup, and plug a few small holes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:11 +00:00
Robert Roebling
1286b7ba6c Not everything has to be virtual.
Made short cuts for adding columns more useful.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 14:15:53 +00:00
Robert Roebling
4846890010 Return toolbars "own" GdkWindow, required among
others for mouse event reporting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 21:49:10 +00:00
Paul Cornett
7002950658 make pixbuf/alpha handling more coherent in gtk wxBitmap, allow pixbuf without alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 16:34:45 +00:00
Robert Roebling
31fb32e137 Implemended column header mouse clicks.
Ascending/descending sorting.
  Setting the little arrow indicator for ascending
    and desceding sorting.
  Generic stubs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 09:50:45 +00:00
Robin Dunn
7a14d08278 ensure that wxMAC_USE_CORE_GRAPHICS is turned on if wxUSE_GRAPHICS_CONTEXT is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:53:06 +00:00
Robin Dunn
e88f652451 Make the message about wxUSE_GRAPHICS_CONTEXT a bit more informative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:42:31 +00:00
Robert Roebling
47cef10f28 Added sort order and alignement for column headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:35:23 +00:00
Mattia Barbon
3e0071d949 Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long
should suffice. A configure test would be better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:34:25 +00:00
Robert Roebling
07a84e7bbb Add support for bitmaps in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00
Robert Roebling
3ff07edb0b [ 1560785 ] wxFileName::IsReadable/Writable/Executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 17:28:31 +00:00
Vadim Zeitlin
5da414766e fix problems with using incorrect vswprintf() for mingw32/VC6 when wxUSE_PRINTF_POS_PARAMS==1, try to simplify/better organize all wxVsnprintf_()-related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 15:25:09 +00:00
Vadim Zeitlin
4daa52ad8f restored Ove Kåven name in the header comment which was
broken a couple revisions ago; switched copyright to wxWidgets 
dev team as the whole as there are simply too many people who 
have modified this file to list them all; no changes in the code




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 11:54:30 +00:00
Robert Roebling
f828871d12 Add row activated event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:23:20 +00:00
Włodzimierz Skiba
f41cf3716e BookCtrl event handler added to default book layer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:33:52 +00:00
Robin Dunn
f43426c1b9 Bakefile changes for building the graphics context modules, and
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Robin Dunn
e1f8ec2909 Give the grid events a Clone method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:52:50 +00:00
Robin Dunn
2f799ae8d2 DLL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:51:05 +00:00
Robert Roebling
fc211fe5ce More selection work in GTK+ version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Stefan Csomor
dc8883366b adding alpha to gtk colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:45:33 +00:00
Robert Roebling
baa9ebc473 Renamed wxDataViewCell to wxDataViewRenderer since the
class just renders the cell, it doesn't represent one.
    Maybe wxDataViewCellRenderer would be best...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Vadim Zeitlin
c6dfeb4192 include wxmsw27_gl (#if wxUSE_GLCANVAS) too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:18:26 +00:00
Vadim Zeitlin
4291c3c825 added if wxUSE_XRC/AUI/RICHTEXT around appropriate libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:16:28 +00:00
Vadim Zeitlin
dd47af27e1 fixes for compilation with wxUSE_XXX==0 and some other minor fixes (patch 1569904)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:53:40 +00:00
Vadim Zeitlin
d9b0ee1eca fix wxFilesystem compilation if wxUSE_FFILE is 0 but wxUSE_FILE is 1; disable wxFileSystem if both wxUSE_(F)FILE are 0 (modified patch 1569960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:38:58 +00:00
Paul Cornett
df9fac6d21 header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:28:36 +00:00
Robert Roebling
eb7f97f8d6 Added event skeletons, defines, event ids..
Implemented wxEVT_DATAVIEW_ROW_SELECTED.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 13:23:31 +00:00
Robert Roebling
6ff7eee7ea Added selection API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:39:08 +00:00
Robert Roebling
0a71f9e92f Replaces size_t with unsigned int in wxDataViewCtrl API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Vadim Zeitlin
a1f48575d1 added wxUSE_ACTIVEX which depends on wxUSE_VARIANT and which wxUSE_MEDIACTRL depends on (closes 1569606)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 22:37:07 +00:00
Paul Cornett
a97154c0c3 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 18:04:02 +00:00
Paul Cornett
e409b62aaf listctrl header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 17:38:30 +00:00
Włodzimierz Skiba
b3298d1d26 GCC warning fix. Minor cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 11:18:35 +00:00
Vadim Zeitlin
39a485512a put expdecl in the correct place in DECLARE/IMPLEMENT_VARIANT_OBJECT_EXPORTED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 09:00:12 +00:00
Paul Cornett
4c44eb66f3 put grid string in generic/grid.cpp, not common/datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:12:33 +00:00
Włodzimierz Skiba
3d5f724f8e Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:19:17 +00:00
Włodzimierz Skiba
07502d7351 Warning fixes after char->wxChar in wxVariant.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:09:20 +00:00
Paul Cornett
4e675101a7 use unsigned for display count
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:38:05 +00:00
Robert Roebling
008b5a66f7 Removed some irritating flags.
Implmented the remaining ones under GTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 21:09:56 +00:00
Julian Smart
0ca07313fb Added rich text buffer clipboard support.
Added double-left-click word selection support.
Now saves only the active attributes to XML.
Eliminated wxRichTextFragment class to allow  wxRichTextBuffer
to be used where wxRichTextFragment was used.
Fixed AddParagraph virtual function hiding warning.
Miscellaneous small wxRichTextCtrl bug fixes and cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 14:46:03 +00:00
Robert Roebling
2586d4a121 Several wxBitmapDataCell changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:21:19 +00:00
Robert Roebling
38f82bf695 Missed these in the char -> wxChar change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:01:04 +00:00
Robert Roebling
6f5d78250c Move wxVariant support for GDI classes to their
files (and thus away from wxBase).
  Add export declaration field for variant macros.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 20:45:15 +00:00
Václav Slavík
e48a305514 clean DFB event buffer on shutdown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 19:22:40 +00:00
Vadim Zeitlin
b19d4eb9bf draw solid focus rectangle in mono theme and don't do it at all for selected items (this required adding flags parameter to DrawFocusRect())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 18:30:00 +00:00
Robert Roebling
3f90a3994d Added DECLARE_VARIANT_OBJECT macros for easy conversion
from and to wxVariant using the shift left operator.
  Use the for GDI classes and wxImage.
  Document it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 15:37:52 +00:00