// Panel.h #ifndef PANEL_H #define PANEL_H #include class Panel : public BWindow { public: Panel(BRect frame, const char* title, window_type type, uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE); Panel(BRect frame, const char* title, window_look look, window_feel feel, uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE); virtual ~Panel(); // Panel virtual void Cancel(); private: void _InstallFilter(); }; #endif // PANEL_H