diff --git a/src/apps/stylededit/Jamfile b/src/apps/stylededit/Jamfile index 6f5701899b..dc0fb093cd 100644 --- a/src/apps/stylededit/Jamfile +++ b/src/apps/stylededit/Jamfile @@ -1,6 +1,13 @@ SubDir HAIKU_TOP src apps stylededit ; +SetSubDirSupportedPlatformsBeOSCompatible ; + UsePrivateHeaders textencoding ; +if $(TARGET_PLATFORM) != haiku { + UseHeaders [ FDirName $(HAIKU_TOP) headers os support ] : true ; + UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; +} + local styled_edit_rsrc = [ FGristFiles StyledEdit.rsrc ] diff --git a/src/apps/stylededit/StyledEditView.h b/src/apps/stylededit/StyledEditView.h index 48e947ea12..a3985b5b3d 100644 --- a/src/apps/stylededit/StyledEditView.h +++ b/src/apps/stylededit/StyledEditView.h @@ -8,7 +8,7 @@ class StyledEditView : public BTextView { public: StyledEditView(BRect viewframe, BRect textframe, BHandler *handler); - ~StyledEditView(); + virtual ~StyledEditView(); virtual void Select(int32 start, int32 finish); virtual void FrameResized(float width, float height); diff --git a/src/apps/stylededit/StyledEditWindow.h b/src/apps/stylededit/StyledEditWindow.h index 0baa0ab740..55a1fdd550 100644 --- a/src/apps/stylededit/StyledEditWindow.h +++ b/src/apps/stylededit/StyledEditWindow.h @@ -17,7 +17,7 @@ class StyledEditWindow public: StyledEditWindow(BRect frame, int32 id, uint32 encoding = 0); StyledEditWindow(BRect frame, entry_ref *ref, uint32 encoding = 0); - ~StyledEditWindow(); + virtual ~StyledEditWindow(); virtual void Quit(); virtual bool QuitRequested();