diff --git a/rootx/src/rootxx-cocoa.mm b/rootx/src/rootxx-cocoa.mm
index 2439188a33dc99fc208ee9f4c19f207a693d0f95..cdc803922653f1aa4f5b7371cb9f47b802419cee 100644
--- a/rootx/src/rootxx-cocoa.mm
+++ b/rootx/src/rootxx-cocoa.mm
@@ -69,16 +69,18 @@ bool showAboutInfo = false;
 //with a background (ROOT's logo) + scrollview and textview to show info
 //about contributors.
 
-@interface ROOTSplashScreenView : NSView
-@end
-
-@implementation ROOTSplashScreenView {
+@interface ROOTSplashScreenView : NSView {
+@private
    NSImage *backgroundImage;
    NSScrollView *scrollView;
    NSTextView *textView;
    NSMutableDictionary *versionTextAttributes;
 }
 
+@end
+
+@implementation ROOTSplashScreenView
+
 //_________________________________________________________________
 - (id) initWithImage : (NSImage *) image text : (NSAttributedString *) textToScroll aboutMode : (BOOL) about
 {