Index: wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js
===================================================================
--- wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js	(revision 24097)
+++ wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js	(working copy)
@@ -23,7 +23,7 @@
 					return;
 
 				// Make sure we've selected a gallery node.
-				if ( el.nodeName != 'IMG' || ed.dom.getAttrib(el, 'class').indexOf('wpGallery') == -1 )
+				if ( el.nodeName != 'IMG' || ed.dom.getAttrib(el, 'class').indexOf('wp-gallery') == -1 )
 					return;
 
 				frame = gallery.edit( '[' + ed.dom.getAttrib( el, 'title' ) + ']' );
@@ -40,7 +40,7 @@
 					ed.dom.events.add(ed.getBody(), 'touchstart', function(e){
 						var target = e.target;
 
-						if ( target.nodeName == 'IMG' && ed.dom.hasClass(target, 'wpGallery') ) {
+						if ( target.nodeName == 'IMG' && ed.dom.hasClass(target, 'wp-gallery') ) {
 							ed.selection.select(target);
 							ed.dom.events.cancel(e);
 							ed.plugins.wordpress._hideButtons();
@@ -51,7 +51,7 @@
 			});
 
 			ed.onMouseDown.add(function(ed, e) {
-				if ( e.target.nodeName == 'IMG' && ed.dom.hasClass(e.target, 'wpGallery') ) {
+				if ( e.target.nodeName == 'IMG' && ed.dom.hasClass(e.target, 'wp-gallery') ) {
 					ed.plugins.wordpress._hideButtons();
 					ed.plugins.wordpress._showButtons(e.target, 'wp_gallerybtns');
 				}
@@ -69,7 +69,7 @@
 
 		_do_gallery : function(co) {
 			return co.replace(/\[gallery([^\]]*)\]/g, function(a,b){
-				return '<img src="'+tinymce.baseURL+'/plugins/wpgallery/img/t.gif" class="wpGallery mceItem" title="gallery'+tinymce.DOM.encode(b)+'" />';
+				return '<img src="'+tinymce.baseURL+'/plugins/wpgallery/img/t.gif" class="wp-gallery mceItem" title="gallery'+tinymce.DOM.encode(b)+'" />';
 			});
 		},
 
@@ -83,7 +83,7 @@
 			return co.replace(/(?:<p[^>]*>)*(<img[^>]+>)(?:<\/p>)*/g, function(a,im) {
 				var cls = getAttr(im, 'class');
 
-				if ( cls.indexOf('wpGallery') != -1 )
+				if ( cls.indexOf('wp-gallery') != -1 )
 					return '<p>['+tinymce.trim(getAttr(im, 'title'))+']</p>';
 
 				return a;
@@ -130,7 +130,7 @@
 			tinymce.dom.Event.add(dellButton, 'mousedown', function(e) {
 				var ed = tinymce.activeEditor, el = ed.selection.getNode();
 
-				if ( el.nodeName == 'IMG' && ed.dom.hasClass(el, 'wpGallery') ) {
+				if ( el.nodeName == 'IMG' && ed.dom.hasClass(el, 'wp-gallery') ) {
 					ed.dom.remove(el);
 
 					ed.execCommand('mceRepaint');
Index: wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css
===================================================================
--- wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css	(revision 24097)
+++ wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css	(working copy)
@@ -127,7 +127,7 @@
     background: transparent url("img/page_bug.gif") no-repeat right top;
 }
 
-img.wpGallery {
+img.wp-gallery {
 	border: 1px dashed #888;
 	background: #f2f8ff url("img/gallery.png") no-repeat scroll center center;
 	width: 99%;
