fix the cairo-fletcher-fluctuation
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / popup.h
index 5684230f5668628baf7a5f23fe83a109a81bd4ff..75a62ae92c4c339bcd26fe04ad3fda65841bee1e 100644 (file)
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __qui_popup_h__
 #define __qui_popup_h__
 
+#ifdef interface
+#undef interface
+#endif
+
 #include <string>
 #include <gtkmm.h>
 
 #include <pbd/touchable.h>
 
+#include "gtkmm2ext/visibility.h"
+
 namespace Gtkmm2ext {
 
-class PopUp : public Gtk::Window, public Touchable
+class LIBGTKMM2EXT_API PopUp : public Gtk::Window, public Touchable
 {
   public:
        PopUp (Gtk::WindowPosition pos, unsigned int show_for_msecs = 0,
@@ -42,6 +47,9 @@ class PopUp : public Gtk::Window, public Touchable
 
        bool on_delete_event (GdkEventAny* );
 
+  protected:
+       void on_realize ();
+
   private:
        Gtk::Label label;
        std::string my_text;