You have two possible ways from Wroclaw - you may drive trough Germany and Switzerland or Austria and Italy.
First way will be a little longer, but it is about seeing different countries, right? After crossing Czech Republic, you will find yourself in Bavaria, delightful area, full of spectacular architecture, with nice, hospitable inhabitants, and really tasty cuisine. In time of your stop, you must to try couple of delicious, German wurst, beer know all around the planet, or potatoes salad served with local bread - all of it is really delicious! If you are touring during October, why not stop by in Munich, to see the biggest beer festival in the Europe? After passing the border or Switzerland, you will have a chance to enjoy nature of Alps. During your travel trough tunnels underneath the mountains, you will appreciate spectacular view outside your window pane (read something more). You can stop by in Basel, historical, charming town, known for it beautiful architecture. Also you could try a railway tour in mountains, you will have a chance to visit couple out of many nursing houses, relict of old times. There use to live wealthy patients suffered of tuberculosis. The most popular one is in Davos, it was place of action of Tomas Mann novel.
Different way you can choose, leads trough Austria and Italy. Basically, you will drive trough the mountain's roads, but with spectacular view on Austrian vineyards. You can stop by a little longer in one of larger cities, eat delicious, regional food, like wiener schnitzel or apple pie, also you may buy few bottles of local wine, is really delicious. In Land of Mona Lisa, you will get a foretaste of Madrid - spirit of Spain is really similar (find more). There, you must to stop by in Milan. This fascinating city own one of the largest Basilica in the Europe, this is splendorous, Medieval building, with breathtaking, tall towers. If you are an art lover, you could visit at least one of many museums in this area. Especially if you enjoy Renaissance paintings.
In both option, at the end of your voyage, you will find yourself in France. This road will be the most beautiful - you will be traveling along the seashore, admiring nice view from your window. After next day, you will eventually enter Spain. You will be marvelthe formosity of this ancient country, during your tour to final destination - Madrid. Travel from Wroclaw, believe it or not, will slip fast. So why do not try to travel in an old-school way? It is really worth it.