wxPython stuff:

1. Added Clipboard and Drag-and-Drop classes
  2. Added wxFontEnumerator
  3. Many changes to wxMenu, wxMenubar
  4. Various other changes and additions
  5. Updates to the demo
  6. Documentation updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-11-06 08:30:23 +00:00
parent 024fb9b98a
commit b1462dfa34
63 changed files with 8689 additions and 1862 deletions

View File

@@ -51,7 +51,7 @@
//---------------------------------------------------------------------------
#define __version__ "0.0.0" // The real value is in build.py...
#define __version__ "0.0.0" // The real value is now in build.py...
wxPoint wxPyDefaultPosition;
wxSize wxPyDefaultSize;
@@ -104,27 +104,14 @@ public:
//----------------------------------------------------------------------
// An instance of this object is created in the main wx module. As long
// as there are no extra references to it then when the wx module is being
// unloaded from memory then this object's destructor will be called. When
// it is then we'll use that as a signal to clean up wxWindows
// this is used to cleanup after wxWindows when Python shuts down.
%{
class __wxPyCleanup {
public:
__wxPyCleanup() { }
~__wxPyCleanup() { wxApp::CleanUp(); }
};
%inline %{
void wxApp_CleanUp() {
wxApp::CleanUp();
}
%}
// now to swigify it...
class __wxPyCleanup {
public:
__wxPyCleanup();
~__wxPyCleanup();
};
//----------------------------------------------------------------------
// This code gets added to the module initialization function
//----------------------------------------------------------------------
@@ -146,6 +133,7 @@ extern "C" SWIGEXPORT(void) initwindows3c();
extern "C" SWIGEXPORT(void) initimagec();
extern "C" SWIGEXPORT(void) initprintfwc();
extern "C" SWIGEXPORT(void) initsizersc();
extern "C" SWIGEXPORT(void) initclip_dndc();
%}
@@ -174,6 +162,7 @@ extern "C" SWIGEXPORT(void) initsizersc();
initimagec();
initprintfwc();
initsizersc();
initclip_dndc();
%}
//----------------------------------------------------------------------