]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/minifram.h
Prevent seg fault for older GTK+
[wxWidgets.git] / include / wx / gtk1 / minifram.h
index f0edcd4b4d6ed320d839bd649b051332c3014c75..3d1bcee39670c474b4638536256f6ff781c04494 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        minifram.h
+// Name:        wx/gtk1/minifram.h
 // Purpose:     wxMiniFrame class
 // Author:      Robert Roebling
 // RCS-ID:      $Id$
 #ifndef __GTKMINIFRAMEH__
 #define __GTKMINIFRAMEH__
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_MINIFRAME
 // classes
 //-----------------------------------------------------------------------------
 
-class wxMiniFrame;
+class WXDLLIMPEXP_CORE wxMiniFrame;
 
 //-----------------------------------------------------------------------------
 // wxMiniFrame
 //-----------------------------------------------------------------------------
 
-class wxMiniFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame
 {
     DECLARE_DYNAMIC_CLASS(wxMiniFrame)
 
@@ -56,8 +52,9 @@ public:
             long style = wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ,
             const wxString& name = wxFrameNameStr);
 
+    virtual void SetTitle( const wxString &title );
  // implementation
+
     bool   m_isDragging;
     int    m_oldX,m_oldY;
     int    m_diffX,m_diffY;