Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. #ifndef __wxSFML__
  2. #define __wxSFML__
  3.  
  4. #include <SFML/Graphics.hpp>
  5. #include <wx/wx.h>
  6.  
  7. class wxSFML : public wxControl, public sf::RenderWindow {
  8. public:
  9.     wxSFML(wxWindow* Parent = NULL, wxWindowID Id = -1, const wxPoint& Position = wxDefaultPosition, const wxSize& Size = wxDefaultSize, long Style = 0);
  10.     virtual ~wxSFML();
  11. private:
  12.     DECLARE_EVENT_TABLE()
  13.     virtual void OnUpdate();
  14.     void OnIdle(wxIdleEvent&);
  15.     void OnPaint(wxPaintEvent&);
  16.     void OnEraseBackground(wxEraseEvent&);
  17. };
  18.  
  19. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement