Show
Ignore:
Timestamp:
01/12/10 22:31:22 (2 years ago)
Author:
Carsten
Message:

a) Updated the defaults in CompilerSetup.py.tmpl.
b) The OpenGL rendering context and MatSys initialization is now delayed until the initial canvas is actually shown on screen. Fixes #3.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/CaWE/ParentFrame.hpp

    r36 r41  
    2828#include "wx/mdi.h" 
    2929#include "Templates/Array.hpp" 
     30 
     31#if __linux__ 
     32#define HMODULE void* 
     33#endif 
    3034 
    3135 
     
    110114    void OnSize    (wxSizeEvent&    SE); 
    111115#endif 
     116    void OnShow    (wxShowEvent&    SE);    ///< Event handler for "has been shown" events. 
    112117    void OnClose   (wxCloseEvent&   CE);    ///< Event handler for close events, e.g. after a system close button or command or a call to Close(). See wx Window Deletion Overview for more details. 
    113118    void OnMenuFile(wxCommandEvent& CE);    ///< Event handler for File menu events. 
    114119    void OnMenuHelp(wxCommandEvent& CE);    ///< Event handler for Help menu events. 
     120 
     121    HMODULE m_RendererDLL; 
    115122 
    116123    DECLARE_EVENT_TABLE()