minor compile fix
fluxgen fluxgen
2 files changed,
7 insertions(+),
3 deletions(-)
M
src/GenericTool.cc
→
src/GenericTool.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: GenericTool.cc,v 1.1 2003/10/13 23:35:54 fluxgen Exp $ +// $Id: GenericTool.cc,v 1.2 2003/10/26 20:11:27 fluxgen Exp $ #include "GenericTool.hh" #include "FbTk/FbWindow.hh"@@ -36,6 +36,10 @@ theme.reconfigSig().attach(this);
if (new_window == 0) throw std::string("GenericTool: Error! Tried to create a tool with window = 0"); +} + +GenericTool::~GenericTool() { + } void GenericTool::move(int x, int y) {
M
src/GenericTool.hh
→
src/GenericTool.hh
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: GenericTool.hh,v 1.1 2003/10/13 23:35:53 fluxgen Exp $ +// $Id: GenericTool.hh,v 1.2 2003/10/26 20:11:27 fluxgen Exp $ #ifndef GENERICTOOL_HH #define GENERICTOOL_HH@@ -40,7 +40,7 @@ /// helper class for simple tools, i.e buttons etc
class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable { public: GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type, ToolTheme &theme); - virtual ~GenericTool() { } + virtual ~GenericTool(); void move(int x, int y); void resize(unsigned int x, unsigned int y); void moveResize(int x, int y,